Bewerken

Delen via


X509PeerCertificateAuthentication.TrustedStoreLocation Property

Definition

Gets or sets the trusted store location where the client certificate is validated.

public:
 property System::Security::Cryptography::X509Certificates::StoreLocation TrustedStoreLocation { System::Security::Cryptography::X509Certificates::StoreLocation get(); void set(System::Security::Cryptography::X509Certificates::StoreLocation value); };
public System.Security.Cryptography.X509Certificates.StoreLocation TrustedStoreLocation { get; set; }
member this.TrustedStoreLocation : System.Security.Cryptography.X509Certificates.StoreLocation with get, set
Public Property TrustedStoreLocation As StoreLocation

Property Value

The trusted store location where the client certificate is validated.

Exceptions

Set when credential is read-only.

Remarks

When using certificates, Windows Communication Foundation (WCF) security system validates the client certificate against a StoreLocation. The store location is specified using this parameter.

Applies to