OPC Studio User's Guide and Reference
NotAfter Property (PkiCertificateInfo)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Security.Cryptography.PkiCertificates Namespace > PkiCertificateInfo Class : NotAfter Property
Syntax
'Declaration
 
<DisplayAttribute(AutoGenerateField=False, 
   Order=150, 
   ShortName="Not After")>
<DisplayFormatAttribute("{0:d}
{0:T}")>
Public ReadOnly Property NotAfter As Date
'Usage
 
Dim instance As PkiCertificateInfo
Dim value As Date
 
value = instance.NotAfter
[Display(AutoGenerateField=false, 
   Order=150, 
   ShortName="Not After")]
[DisplayFormat("{0:d}
{0:T}")]
public DateTime NotAfter {get;}
[Display(AutoGenerateField=false, 
   Order=150, 
   ShortName="Not After")]
[DisplayFormat("{0:d}
{0:T}")]
public:
property DateTime NotAfter {
   DateTime get();
}
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