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(); }
public void SaveAppConfig() { app_cfg.AddConfig(app_cfg.cfg_name, curr_cfg); app_cfg.SaveConfigToFile(); }