編輯

共用方式為


SslStreamSecurityElement.RequireClientCertificate Property

Definition

Gets or sets a Boolean value that specifies whether a client certificate is required for this binding.

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 a client certificate is required for this binding; otherwise, false. The default is false.

Attributes

Applies to