get_NotAfter()

X509Certificate2::get_NotAfter() const method

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

DateTime System::Security::Cryptography::X509Certificates::X509Certificate2::get_NotAfter() const

Return Value

Date and time.

See Also