MailBee.NET Objects 4.0

Certificate.ValidToDate Property

Gets the date the certificate certificate is no longer valid from.

public System.DateTime ValidToDate {get;}

Property Value

A DateTime value representing the date when the certificate expires and becomes no longer valid, or MinValue if the date could not be parsed.

Exceptions

Exception Type Condition
MailBeeDateParsingException A date parsing error occurred and ThrowExceptions is true.

Example

The example is available in Certificate topic.

See Also

Certificate Class | MailBee.Security Namespace | ValidFromDate