Edit

Share via


X509CertificateValidationElement.TrustedStoreLocation Property

Definition

Gets or sets the trusted store location for X.509 certificates.

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.LocalMachine, IsRequired=false)]
public System.Security.Cryptography.X509Certificates.StoreLocation TrustedStoreLocation { get; set; }
[<System.Configuration.ConfigurationProperty("trustedStoreLocation", DefaultValue=System.Security.Cryptography.X509Certificates.StoreLocation.LocalMachine, IsRequired=false)>]
member this.TrustedStoreLocation : System.Security.Cryptography.X509Certificates.StoreLocation with get, set
Public Property TrustedStoreLocation As StoreLocation

Property Value

The store location for X.509 certificates. The default is LocalMachine.

Attributes

Remarks

This property is optional. It represents the trustedSToreLocation attribute of the <certificateValidation> element.

Applies to