共用方式為


TlsValidationOptions.IgnoreHostname Property

Definition

Gets or sets when set to 'true' causes the certificate subject name validation to be skipped. Default is 'false'.

[Newtonsoft.Json.JsonProperty(PropertyName="ignoreHostname")]
public string IgnoreHostname { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="ignoreHostname")>]
member this.IgnoreHostname : string with get, set
Public Property IgnoreHostname As String

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to