IMonoSslStream.AuthenticateAsClientAsync Method

Definition

Overloads

AuthenticateAsClientAsync(String)
AuthenticateAsClientAsync(String, X509CertificateCollection, SslProtocols, Boolean)

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

targetHost
String

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

targetHost
String
clientCertificates
X509CertificateCollection
enabledSslProtocols
SslProtocols
checkCertificateRevocation
Boolean

Returns

Task

Applies to