Пример #1
0
    public MTProto()
    {
        IPEndPoint pEndPoint = new IPEndPoint(ServerInfo.ServerIp, ServerInfo.ServerPort);

        pTcpClient     = new TTCPClient(pEndPoint, null);
        pAuthorization = new Authorization(pTcpClient);
    }
 public Authorization(TTCPClient pClient)
 {
     this.pTcpClient = pClient;
     this.StartDHExchange();
 }
 public Authorization(TTCPClient pClient)
 {
     this.pTcpClient = pClient;
     this.StartDHExchange ();
 }