IMonoSslStream.AuthenticateAsClientAsync Method
Definition
In this article
Overloads
AuthenticateAsClientAsync(String)
public:
System::Threading::Tasks::Task ^ AuthenticateAsClientAsync(System::String ^ targetHost);
public System.Threading.Tasks.Task AuthenticateAsClientAsync (string targetHost);
abstract member AuthenticateAsClientAsync : string -> System.Threading.Tasks.Task
Public Function AuthenticateAsClientAsync (targetHost As String) As Task
Parameters
Returns
Task
AuthenticateAsClientAsync(String, X509CertificateCollection, SslProtocols, Boolean)
public:
System::Threading::Tasks::Task ^ AuthenticateAsClientAsync(System::String ^ targetHost, System::Security::Cryptography::X509Certificates::X509CertificateCollection ^ clientCertificates, System::Security::Authentication::SslProtocols enabledSslProtocols, bool checkCertificateRevocation);
public System.Threading.Tasks.Task AuthenticateAsClientAsync (string targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, bool checkCertificateRevocation);
abstract member AuthenticateAsClientAsync : string * System.Security.Cryptography.X509Certificates.X509CertificateCollection * System.Security.Authentication.SslProtocols * bool -> System.Threading.Tasks.Task
Public Function AuthenticateAsClientAsync (targetHost As String, clientCertificates As X509CertificateCollection, enabledSslProtocols As SslProtocols, checkCertificateRevocation As Boolean) As Task
Parameters
Returns
Task