ClientServerCertificatesServer Property
Gets the server certificate.

Namespace: MailBee.Security
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public Certificate Server { get; }

Property Value

Type: Certificate
A Certificate object representing the certificate that was received from the server once SSL handshake was completed, or a null reference (Nothing in Visual Basic) if SSL handshake is not yet completed or not connected to the server. The default value is a null reference.
Remarks
To tell MailBee to validate the server certificate automatically during SSL handshake, use AutoValidation property. To validate it manulally, use Validate method of Server object once SSL handshake is done. You can also subscribe to TlsStarted event published by mailer components such as Pop3 to catch the very moment when the SSL handshake is done.
Examples
The example is available in ClientServerCertificates topic.
See Also