X509Certificate.GetExpirationDateString Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Returns the expiration date of this X.509 version 3 certificate.
Assembly: mscorlib (in mscorlib.dll)
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.