Tests if the supplied certificate has a currently valid date.

Namespace: NHINDirect.Certificates
Assembly: nhinCommon (in nhinCommon.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public static bool HasValidDateRange(
	this X509Certificate2 cert
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function HasValidDateRange ( _
	cert As X509Certificate2 _
) As Boolean
Visual C++
[ExtensionAttribute]
public:
static bool HasValidDateRange(
	X509Certificate2^ cert
)

Return Value

true if it is valid by date as of now, false otherwise.

See Also