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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Security.Cryptography.PkiCertificates Namespace > PkiCertificateInfo Class : HasPrivateKey Property
Syntax
'Declaration
 
<ColumnDisplayAttribute(7)>
<DefaultValueAttribute(False)>
<DisplayAttribute(AutoGenerateField=True, 
   Order=170, 
   ShortName="Has Private Key")>
Public ReadOnly Property HasPrivateKey As Boolean
'Usage
 
Dim instance As PkiCertificateInfo
Dim value As Boolean
 
value = instance.HasPrivateKey
[ColumnDisplay(7)]
[DefaultValue(false)]
[Display(AutoGenerateField=true, 
   Order=170, 
   ShortName="Has Private Key")]
public bool HasPrivateKey {get;}
[ColumnDisplay(7)]
[DefaultValue(false)]
[Display(AutoGenerateField=true, 
   Order=170, 
   ShortName="Has Private Key")]
public:
property bool HasPrivateKey {
   bool 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