Connectivity Software User's Guide and Reference
NotAfterUtc Property (IPkiCertificateInfo)



OpcLabs.BaseLibPrimitives Assembly > OpcLabs.BaseLib.Security.Cryptography.PkiCertificates Namespace > IPkiCertificateInfo Interface : NotAfterUtc Property
Gets the date after which a certificate is no longer valid. In UTC.
Syntax
'Declaration
 
ReadOnly Property NotAfterUtc As Date
'Usage
 
Dim instance As IPkiCertificateInfo
Dim value As Date
 
value = instance.NotAfterUtc
DateTime NotAfterUtc {get;}
property DateTime NotAfterUtc {
   DateTime get();
}
Remarks

This property indicates an expiration date on which the certificate becomes invalid.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also