System::Net::Security::SslStream::AuthenticateAsClient metod

SslStream::AuthenticateAsClient(String) method

Autentiserar klientdelen av anslutningen.

virtual void System::Net::Security::SslStream::AuthenticateAsClient(String targetHost)
ParameterTypeBeskrivning
targetHostStringNamnet på servern som delar den aktuella instansen.

Se även

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

Autentiserar klientdelen av anslutningen.

virtual void System::Net::Security::SslStream::AuthenticateAsClient(String targetHost, System::SharedPtr<System::Security::Cryptography::X509Certificates::X509CertificateCollection> clientCertificates, System::Security::Authentication::SslProtocols enabledSslProtocols, bool checkCertificateRevocation)
ParameterTypeBeskrivning
targetHostStringNamnet på servern som delar den aktuella instansen.
clientCertificatesSystem::SharedPtr<System::Security::Cryptography::X509Certificates::X509CertificateCollection>Klientcertifikaten.
enabledSslProtocolsSystem::Security::Authentication::SslProtocolsSSL-protokollen som används för autentisering.
checkCertificateRevocationboolEtt värde som indikerar om certifikatåterkallandelistan måste kontrolleras under autentisering.

Se även