Gets the server 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.
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.
The example is available in ClientServerCertificates topic.
ClientServerCertificates Class | MailBee.Security Namespace | Client