Editare

Partajați prin


HttpsTransportElement.RequireClientCertificate Property

Definition

Gets or sets a boolean value that specifies whether the server requires the client to provide a client certificate as part of the HTTPS handshake.

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

Property Value

true if SSL client authentication is required; otherwise, false. The default is false.

Attributes

Applies to