System.Security.Cryptography.X509Certificates.X509Certificate2.NotAfter Property

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

Syntax

public DateTime NotAfter { get; }

Value

Documentation for this section has not yet been entered.

Remarks

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

Requirements

Namespace: System.Security.Cryptography.X509Certificates
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0