OPC Studio User's Guide and Reference
SubjectName Property



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Security.Cryptography.PkiCertificates Namespace > IPkiCertificate Interface : SubjectName Property
Syntax
'Declaration
 
<NotNullAttribute()>
ReadOnly Property SubjectName As X500DistinguishedName
'Usage
 
Dim instance As IPkiCertificate
Dim value As X500DistinguishedName
 
value = instance.SubjectName
[NotNull()]
X500DistinguishedName SubjectName {get;}
[NotNull()]
property X500DistinguishedName^ SubjectName {
   X500DistinguishedName^ get();
}

Property Value

The value of this property cannot be null (Nothing in Visual Basic).

Exceptions
ExceptionDescription

An error occurred during a cryptographic operation.

This is an operation error that depends on factors external to your program, and thus cannot be always avoided. Your code must handle it appropriately.

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