protected sealed override void IterationSetupSslStream() { TcpClient = new TcpClient(); TcpClient.Connect((IPEndPoint)TcpListener.LocalEndpoint); ClientSslStream = CreateSslStream(TcpClient.GetStream()); ClientSslStream.AuthenticateAsClient("localhost"); }
public void SslStream() { TcpClient.Connect((IPEndPoint)TcpListener.LocalEndpoint); ClientSslStream = CreateSslStream(TcpClient.GetStream()); ClientSslStream.AuthenticateAsClient("localhost"); }