Property DisableHostnameVerification
DisableHostnameVerification
Gets or sets a value that determines whether to disable hostname
verification on the certificate presented by the server.
Declaration
public bool DisableHostnameVerification { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
true to disable hostname verification. The default is
false .
|
Remarks
Note that this option does not disable verification of the
certificate chain presented by the server. It only allows a
mismatch between the hostname in the URL and the hostname in the
certificate.