Example #1
0
        public static void set_pwd(string user, string value)
        {
            XElement x = new XElement("Item");

            x.SetElementValue("sn", MD5Value(value + user + "1r%4#", true));
            pwds.AddConfig(user, x);
            pwds.SaveConfigToFile();
        }
Example #2
0
 static public void SaveAppConfig()
 {
     app_cfg.AddConfig(app_cfg.cfg_name, curr_cfg);
     app_cfg.SaveConfigToFile();
 }