OPC Studio User's Guide and Reference
SubjectDnsName Property



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Security.Cryptography.PkiCertificates Namespace > PkiCertificateInfo Class : SubjectDnsName Property
The DNS name associated with the (alternative) name of the subject of an X509 certificate.
Syntax
'Declaration
 
<CanBeNullAttribute()>
<DefaultValueAttribute("")>
<DisplayAttribute(AutoGenerateField=False, 
   Order=114, 
   ShortName="Subject DNS Name")>
Public ReadOnly Property SubjectDnsName As String
'Usage
 
Dim instance As PkiCertificateInfo
Dim value As String
 
value = instance.SubjectDnsName
[CanBeNull()]
[DefaultValue("")]
[Display(AutoGenerateField=false, 
   Order=114, 
   ShortName="Subject DNS Name")]
public string SubjectDnsName {get;}
[CanBeNull()]
[DefaultValue("")]
[Display(AutoGenerateField=false, 
   Order=114, 
   ShortName="Subject DNS Name")]
public:
property String^ SubjectDnsName {
   String^ 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