Esempio n. 1
0
 public void clearCon()
 {
     if (con.ConnectionAlive())
     {
         con.CloseConnection(false);
     }
 }
Esempio n. 2
0
        internal static DateTime punishmentReconnectTime = DateTime.MinValue; //This is the time where we are ALLOWED to recheck the connection.

        internal static bool IsConnected()
        {
            return(connection != null && connection.ConnectionAlive());
        }