SslStream Constructor

 

Initializes a new instance of the SslStream class.

Namespace:   System.Net.Security
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubmethodSslStream(Stream^)

Initializes a new instance of the SslStream class using the specified Stream.

System_CAPS_pubmethodSslStream(Stream^, Boolean)

Initializes a new instance of the SslStream class using the specified Stream and stream closure behavior.

System_CAPS_pubmethodSslStream(Stream^, Boolean, RemoteCertificateValidationCallback^)

Initializes a new instance of the SslStream class using the specified Stream, stream closure behavior and certificate validation delegate.

System_CAPS_pubmethodSslStream(Stream^, Boolean, RemoteCertificateValidationCallback^, LocalCertificateSelectionCallback^)

Initializes a new instance of the SslStream class using the specified Stream, stream closure behavior, certificate validation delegate and certificate selection delegate.

System_CAPS_pubmethodSslStream(Stream^, Boolean, RemoteCertificateValidationCallback^, LocalCertificateSelectionCallback^, EncryptionPolicy)

Initializes a new instance of the SslStream class using the specified Stream

To prevent the SslStream from closing the stream that you supply, use the SslStream constructor.

Return to top
Show: