MailServiceClientCertificates Property

Get or set the client SSL certificates.

Definition

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public X509CertificateCollection? ClientCertificates { get; set; }

Property Value

X509CertificateCollection
The client SSL certificates.

Implements

IMailServiceClientCertificates

Remarks

Some servers may require the client SSL certificates in order to allow the user to connect.

  Note

This property should be set before calling any of the Connect or ConnectAsync methods.

See Also