X509CertificateValidationElement.TrustedStoreLocation Property

.NET Framework (current version)

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

Namespace:   System.IdentityModel.Configuration
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

[ConfigurationPropertyAttribute("trustedStoreLocation", IsRequired = false, 
	DefaultValue = StoreLocation.LocalMachine)]
public StoreLocation TrustedStoreLocation { get; set; }

Property Value

Type: System.Security.Cryptography.X509Certificates.StoreLocation

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

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

.NET Framework
Available since 4.5
Return to top