예제 #1
0
        public bool Equals(TCPConnectionProperties tcpconnprop)
        {
            if (AddressString == tcpconnprop.AddressString)
            {
                if (Alias == tcpconnprop.Alias)
                {
                    if (Port == tcpconnprop.Port)
                    {
                        return(true);
                    }
                }
            }

            return(false);
        }
 public static void AddTCPConnectionHistoryItem(TCPConnectionProperties tcpconnprop)
 {
     tcp_connection_history.Add(tcpconnprop);
     WriteConfigurationToFile();
 }