Redigera

Dela via


ServicePointManagerElement.CheckCertificateName Property

Definition

Gets or sets a Boolean value that controls checking host name information in an X509 certificate.

public:
 property bool CheckCertificateName { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("checkCertificateName", DefaultValue=true)]
public bool CheckCertificateName { get; set; }
[<System.Configuration.ConfigurationProperty("checkCertificateName", DefaultValue=true)>]
member this.CheckCertificateName : bool with get, set
Public Property CheckCertificateName As Boolean

Property Value

true to specify host name checking; otherwise, false.

Attributes

Applies to

See also