Esempio n. 1
0
 public static void UpdateRemaindPasswrodByName(string string_0)
 {
     if (!string.IsNullOrEmpty(PropertyUtil.GetValue("Login_" + BitConverter.ToString(ToolUtil.GetBytes(string_0)).Replace("-", ""))))
     {
         PropertyUtil.SetValue("Login_" + BitConverter.ToString(ToolUtil.GetBytes(string_0)).Replace("-", ""), "");
     }
 }
Esempio n. 2
0
        public static void ChangeRemaindUserName(string string_0, string string_1)
        {
            string str = PropertyUtil.GetValue(string_0);

            if (!string.IsNullOrEmpty(str))
            {
                PropertyUtil.SetValue("Login_" + BitConverter.ToString(ToolUtil.GetBytes(string_1)).Replace("-", ""), str);
                PropertyUtil.SetValue("Login_" + BitConverter.ToString(ToolUtil.GetBytes(string_0)).Replace("-", ""), "");
            }
        }
Esempio n. 3
0
 public static void UpdateRemaindPasswrodByName(string string_0, string string_1)
 {
     if (!string.IsNullOrEmpty(PropertyUtil.GetValue("Login_" + BitConverter.ToString(ToolUtil.GetBytes(string_0)).Replace("-", ""))))
     {
         string[] strArray = string_1.Split(new char[] { '-' });
         if (strArray.Length == 2)
         {
             strArray[0] = string_1;
             PropertyUtil.SetValue("Login_" + BitConverter.ToString(ToolUtil.GetBytes(string_0)).Replace("-", ""), strArray[0] + "-" + strArray[1]);
         }
     }
 }