Пример #1
0
 public  static void SetChecked(bool state)
  {
      if (state)
          OperatorFile.WriteIniFileString("Login", "Checked", "y", file);
      else
          OperatorFile.WriteIniFileString("Login", "Checked", "n", file);
  }
Пример #2
0
        public void SaveToFile(string fnIni)
        {
            OperatorFile.WriteIniFileString("server", "port", ClientName, fnIni);

            OperatorFile.WriteIniFileString("server", "name", ServerName, fnIni);
            OperatorFile.WriteIniFileString("server", "ip", ServerIp, fnIni);
            OperatorFile.WriteIniFileString("server", "port", ServerPort, fnIni);
        }
Пример #3
0
 public static void SetPassword(string password)
 {
     OperatorFile.WriteIniFileString("Login", "Pwd",DesOp.EncryptDES(password), file);
 }
Пример #4
0
 public static void SetAccount(string account)
  {
      OperatorFile.WriteIniFileString("Login", "Account", account, file);
  }