X509PeerCertificateAuthenticationElement.TrustedStoreLocation Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the trusted store location where the peer 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); };
[System.Configuration.ConfigurationProperty("trustedStoreLocation", DefaultValue=System.Security.Cryptography.X509Certificates.StoreLocation.CurrentUser)]
public System.Security.Cryptography.X509Certificates.StoreLocation TrustedStoreLocation { get; set; }
[<System.Configuration.ConfigurationProperty("trustedStoreLocation", DefaultValue=System.Security.Cryptography.X509Certificates.StoreLocation.CurrentUser)>]
member this.TrustedStoreLocation : System.Security.Cryptography.X509Certificates.StoreLocation with get, set
Public Property TrustedStoreLocation As StoreLocation
Property Value
The trusted store location where the peer certificate is validated.
- Attributes
Remarks
Windows Communication Foundation (WCF) security system validates the peer certificate against a StoreLocation. The store location is specified using this property.