Windows apps
Collapse the table of content
Expand the table of content

NotBefore Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the date in local time on which a certificate becomes valid.

Namespace:  System.Security.Cryptography.X509Certificates
Assembly:  System.Security (in System.Security.dll)

public:
property DateTime NotBefore {
	DateTime get ();
}

Property Value

Type: System..::..DateTime
A DateTime object that represents the effective date of the certificate.

ExceptionCondition
CryptographicException

The certificate is unreadable.

This property indicates the date on which the certificate becomes valid.

Show:
© 2017 Microsoft