Delen via


ChainValidationParameters.ServerDnsName Property

Definition

Gets or sets the server DNS name to use for SSL policy.

public:
 property HostName ^ ServerDnsName { HostName ^ get(); void set(HostName ^ value); };
HostName ServerDnsName();

void ServerDnsName(HostName value);
public HostName ServerDnsName { get; set; }
var hostName = chainValidationParameters.serverDnsName;
chainValidationParameters.serverDnsName = hostName;
Public Property ServerDnsName As HostName

Property Value

The server DNS name to use for SSL policy.

Remarks

The ServerDnsName property only applies when the CertificateChainPolicy property is set to Ssl.

Applies to