SubjectAlternativeNameBuilder.AddDnsName(String) Method

Definition

Adds a DNS Name to the subject alternative name extension.

public:
 void AddDnsName(System::String ^ dnsName);
public void AddDnsName (string dnsName);
member this.AddDnsName : string -> unit
Public Sub AddDnsName (dnsName As String)

Parameters

dnsName
String

The DNS name to be added.

Exceptions

dnsName is either null or Empty.

Applies to