ClientServerCertificatesAutoValidation Property
Gets or sets the flags against which the server certificate should be automatically validated.

Namespace: MailBee.Security
Assembly: MailBee.NET.45 (in MailBee.NET.45.dll) Version: 10.0.45.502
Syntax
public CertificateValidationFlags AutoValidation { get; set; }

Property Value

Type: CertificateValidationFlags
A combination of one or more CertificateValidationFlags values. The default value is None.
Remarks

If this property value is not None and SSL handshake starts, MailBee will automatically validate the server certificate against all the flags specified.

If the server certificate fails to pass validation against any of the flags specified, MailBee closes the connection and throws MailBeeCertificateValidationException.

Examples
The example is available in ClientServerCertificates topic.
See Also