System::Net::Security::SslStream::SslStream constructor

SslStream::SslStream(System::SharedPtr<IO::Stream>) constructor

Constructs a new instance.

System::Net::Security::SslStream::SslStream(System::SharedPtr<IO::Stream> innerStream)
ParameterTypeDescription
innerStreamSystem::SharedPtr<IO::Stream>The stream that is used for sending and receiving data.

See Also

SslStream::SslStream(System::SharedPtr<IO::Stream>, bool) constructor

Constructs a new instance.

System::Net::Security::SslStream::SslStream(System::SharedPtr<IO::Stream> innerStream, bool leaveInnerStreamOpen)
ParameterTypeDescription
innerStreamSystem::SharedPtr<IO::Stream>The stream that is used for sending and receiving data.
leaveInnerStreamOpenboolIf true, closing the current instance has no effect on ‘InnerStream’.

See Also

SslStream::SslStream(System::SharedPtr<IO::Stream>, bool, RemoteCertificateValidationCallback) constructor

Constructs a new instance.

System::Net::Security::SslStream::SslStream(System::SharedPtr<IO::Stream> innerStream, bool leaveInnerStreamOpen, RemoteCertificateValidationCallback userCertificateValidationCallback)
ParameterTypeDescription
innerStreamSystem::SharedPtr<IO::Stream>The stream that is used for sending and receiving data.
leaveInnerStreamOpenboolIf true, closing the current instance has no effect on ‘InnerStream’.
userCertificateValidationCallbackRemoteCertificateValidationCallbackThe delegate that is used for validating the certificate supplied by the remote party.

See Also

SslStream::SslStream(System::SharedPtr<IO::Stream>, bool, RemoteCertificateValidationCallback, LocalCertificateSelectionCallback) constructor

Constructs a new instance.

System::Net::Security::SslStream::SslStream(System::SharedPtr<IO::Stream> innerStream, bool leaveInnerStreamOpen, RemoteCertificateValidationCallback userCertificateValidationCallback, LocalCertificateSelectionCallback userCertificateSelectionCallback)
ParameterTypeDescription
innerStreamSystem::SharedPtr<IO::Stream>The stream that is used for sending and receiving data.
leaveInnerStreamOpenboolIf true, closing the current instance has no effect on ‘InnerStream’.
userCertificateValidationCallbackRemoteCertificateValidationCallbackThe delegate that is used for validating the certificate supplied by the remote party.
userCertificateSelectionCallbackLocalCertificateSelectionCallbackThe delegate that is used for selecting the certificate used for authentication.

See Also

SslStream::SslStream(System::SharedPtr<IO::Stream>, bool, RemoteCertificateValidationCallback, LocalCertificateSelectionCallback, EncryptionPolicy) constructor

Constructs a new instance.

System::Net::Security::SslStream::SslStream(System::SharedPtr<IO::Stream> innerStream, bool leaveInnerStreamOpen, RemoteCertificateValidationCallback userCertificateValidationCallback, LocalCertificateSelectionCallback userCertificateSelectionCallback, EncryptionPolicy encryptionPolicy)
ParameterTypeDescription
innerStreamSystem::SharedPtr<IO::Stream>The stream that is used for sending and receiving data.
leaveInnerStreamOpenboolIf true, closing the current instance has no effect on ‘InnerStream’.
userCertificateValidationCallbackRemoteCertificateValidationCallbackThe delegate that is used for validating the certificate supplied by the remote party.
userCertificateSelectionCallbackLocalCertificateSelectionCallbackThe delegate that is used for selecting the certificate used for authentication.
encryptionPolicyEncryptionPolicyThe encryption policy.

See Also