Export (0) Print
Expand All

X509Certificate.GetExpirationDateString Method

Returns the expiration date of this X.509 version 3 certificate.

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

public virtual string GetExpirationDateString()

Return Value

Type: System.String
The expiration date for this X.509 certificate.

The expiration date is the date after which the X.509 certificate is no longer considered valid.

The GetExpirationDateString method returns a string that shows the date formatted in Short Date Pattern followed by the time formatted in Long Time Pattern. The date and time are formatted using the current culture and time zone.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft