Mail ServiceGet Ssl Client Authentication Options Method
Gets the SSL/TLS client authentication options for use with .NET5's SslStream.AuthenticateAsClient() API.
Definition
Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
The client SSL/TLS authentication options.
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
protected virtual SslClientAuthenticationOptions GetSslClientAuthenticationOptions(
string host,
RemoteCertificateValidationCallback remoteCertificateValidationCallback
)Parameters
- host String
- The target host that the client is connected to.
- remoteCertificateValidationCallback RemoteCertificateValidationCallback
- The remote certificate validation callback.
Return Value
SslClientAuthenticationOptionsThe client SSL/TLS authentication options.
Remarks
Gets the SSL/TLS client authentication options for use with .NET5's SslStream.AuthenticateAsClient() API.