Exemple #1
0
        public dynamic Clone()
        {
            CConnectionInfo cls_ConnectInfo_Clonado = new CConnectionInfo();

            cls_ConnectInfo_Clonado.ConnectionType = this.ConnectionType;
            cls_ConnectInfo_Clonado.Status         = this.Status;
            cls_ConnectInfo_Clonado.NamePC         = this.NamePC;
            return(cls_ConnectInfo_Clonado);
        }
Exemple #2
0
 public CStationConnectionData(int ConnectionsCountIn)
 {
     ConnectionsCount = ConnectionsCountIn;
     IPEndPointValue  = new IPEndPoint(0, 0);
     Connection       = new CConnectionInfo[ConnectionsCount - 1 + 1];
     for (int index = 0; index <= ConnectionsCount - 1; index++)
     {
         Connection[index] = new CConnectionInfo();
     }
 }