AuthenticateAsClient()

SslStream::AuthenticateAsClient(String) method

Authenticates the client-side of the connection.

virtual void System::Net::Security::SslStream::AuthenticateAsClient(String targetHost)

Arguments

ParameterTypeDescription
targetHostStringThe name of the server that shares the current instance.

SslStream::AuthenticateAsClient(String, System::SharedPtr<System::Security::Cryptography::X509Certificates::X509CertificateCollection>, System::Security::Authentication::SslProtocols, bool) method

Authenticates the client-side of the connection.

virtual void System::Net::Security::SslStream::AuthenticateAsClient(String targetHost, System::SharedPtr<System::Security::Cryptography::X509Certificates::X509CertificateCollection> clientCertificates, System::Security::Authentication::SslProtocols enabledSslProtocols, bool checkCertificateRevocation)

Arguments

ParameterTypeDescription
targetHostStringThe name of the server that shares the current instance.
clientCertificatesSystem::SharedPtr<System::Security::Cryptography::X509Certificates::X509CertificateCollection>The client certificates.
enabledSslProtocolsSystem::Security::Authentication::SslProtocolsThe SSL protocols that are used for authentication.
checkCertificateRevocationboolA value that indicates if the certificate revocation list must be checked during authentication.

See Also