Example #1
0
        public void save_remember(string login, string password)
        {
            xml_doc doc  = new xml_doc();
            string  from = DateTime.Now.ToString("dd/MM/yyyy");

            doc.load_xml($@"<root data='{from}'><login/><password/></root>");
            doc.node("//root/login").data    = crypt.encrypt(login, from);
            doc.node("//root/password").data = crypt.encrypt(password, from);
            doc.save(path_file_data("remember.xml"));
        }
Example #2
0
 public void save()
 {
     _doc.save();
 }