Ejemplo n.º 1
0
        private void button3_Click(object sender, EventArgs e)
        {
            UserPassDateSetCLS dataset      = new UserPassDateSetCLS();
            StreamReader       keyReader    = new StreamReader(keyFileName);
            string             keyXmlStr    = keyReader.ReadToEnd();
            string             EncyptKeyStr = EDncpytString(keyXmlStr, true);

            FileStream   fs = new FileStream(keyFileName + "E", FileMode.Create);
            StreamWriter sw = new StreamWriter(fs);

            sw.Write("test");
            sw.Flush();
            sw.Close();
            fs.Close();
            //dataset.ReadXml(keyReader);
        }