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

            x.SetAttributeValue("Name", user);
            x.SetValue(MD5Value(value + user +   "1r%4#", true));
            pwds.AddConfig(user, x);
            pwds.SaveConfigToFile();
        }
示例#2
0
 public void SaveAppConfig()
 {
     app_cfg.AddConfig(app_cfg.cfg_name, curr_cfg);
     app_cfg.SaveConfigToFile();
 }