CertificateReferenceElement.StoreLocation Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets a value that specifies the location of the certificate store the client can use to validate the server’s certificate.

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

[ConfigurationPropertyAttribute("storeLocation", DefaultValue = StoreLocation.LocalMachine)]
public StoreLocation StoreLocation { get; set; }

Property Value

Type: System.Security.Cryptography.X509Certificates.StoreLocation

A StoreLocation that specifies the location of the certificate store the client can use to validate the server’s certificate. The default value is LocalMachine.

.NET Framework
Available since 3.0
Return to top
Show: