Esempio n. 1
0
 public override void OnDisconnect()
 {
     Program.clients.Remove(this);
     Proof         = null;
     Salt          = null;
     Verifier      = null;
     serverModulus = null;
     clientModulus = null;
     SessionId     = null;
 }
Esempio n. 2
0
 public override void OnDisconnect()
 {
     Program.clients.Remove(this);
     this.Proof = null;
     this.Salt = null;
     this.Verifier = null;
     this.serverModulus = null;
     this.clientModulus = null;
     this.SessionId = null;
     /*MySqlCommand cmd = new MySqlCommand("UPDATE `accounts` SET `extrn_login` = 0 WHERE `email` = @email", Connection.Instance);
     try
     {
         cmd.Prepare();
         cmd.Parameters.AddWithValue("@email", this.Account.Email);
         cmd.ExecuteNonQuery();
     }
     catch (MySqlException ex) { Log.Error("OnDisconnect()", "MySQL failed! " + ex.ToString()); }*/
 }