Share via


X509Certificate2.GetEffectiveDateString Method

Returns the effective date of this X.509v3 certificate.

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

Syntax

public virtual string GetEffectiveDateString ()

Return Value

The effective date for this X.509 certificate.

Remarks

The effective date is the date after which the X.509 certificate is considered valid.

The GetEffectiveDateString 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.

Version Information

Available in the .NET Micro Framework version 4.2.

See Also

Reference

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