QuickOPC User's Guide and Reference
NotAfterUtc Property



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Security.Cryptography.PkiCertificates Namespace > PkiCertificateInfo Class : NotAfterUtc Property
Gets the date after which a certificate is no longer valid. In UTC.
Syntax
'Declaration
 
<DisplayAttribute(AutoGenerateField=True, 
   Order=151, 
   ShortName="Not After UTC")>
<DisplayFormatAttribute("{0:d}
{0:T}")>
Public ReadOnly Property NotAfterUtc As Date
'Usage
 
Dim instance As PkiCertificateInfo
Dim value As Date
 
value = instance.NotAfterUtc
[Display(AutoGenerateField=true, 
   Order=151, 
   ShortName="Not After UTC")]
[DisplayFormat("{0:d}
{0:T}")]
public DateTime NotAfterUtc {get;}
[Display(AutoGenerateField=true, 
   Order=151, 
   ShortName="Not After UTC")]
[DisplayFormat("{0:d}
{0:T}")]
public:
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