Bagikan melalui


X509Certificate2.NotAfter Property

Gets the date in local time after which a certificate is no longer valid.

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

Syntax

public DateTime NotAfter { get; }

Property Value

A DateTime object that represents the expiration date for the certificate .

Remarks

This property indicates an expiration date on which the certificate becomes invalid.

Version Information

Available in the .NET Micro Framework version 4.2.

See Also

Reference

X509Certificate2 Class
X509Certificate2 Members
System.Security.Cryptography.X509Certificates Namespace