The DNS name associated with the (alternative) name of the subject of an X509 certificate.
Syntax
[CanBeNull()]
public string SubjectDnsName {get;}
[CanBeNull()]
public:
property String^ SubjectDnsName {
String^ get();
}
'Declaration
<CanBeNullAttribute()>
Public ReadOnly Property SubjectDnsName As String
'Usage
Dim instance As PkiCertificateInfo
Dim value As String
value = instance.SubjectDnsName
Property Value
This value of this property can be null
(Nothing
in Visual Basic).
The default value of this property is "" (String.Empty)
.
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