Exemplo n.º 1
0
        // Token: 0x0600055D RID: 1373 RVA: 0x00018558 File Offset: 0x00016758
        private TcpClientSession CreateSecureTcpSession()
        {
            SslStreamTcpSession sslStreamTcpSession = new SslStreamTcpSession();

            (sslStreamTcpSession.Security = new SecurityOption()).EnabledSslProtocols = this.m_SecureProtocols;
            return(sslStreamTcpSession);
        }
        private TcpClientSession CreateSecureTcpSession()
        {
            var client   = new SslStreamTcpSession();
            var security = client.Security = new SecurityOption();

            security.EnabledSslProtocols = m_SecureProtocols;
            return(client);
        }