ServicePointManagerElement.CheckCertificateName 屬性

定義

取得或設定布林 (Boolean) 值,該值控制檢查 X509 憑證中的主機名稱資訊。

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

屬性值

true 表示指定主機名稱檢查,否則為 false

屬性

適用於

另請參閱