Share via


X509CertificateValidationElement.TrustedStoreLocation Propriété

Définition

Obtient ou définit l'emplacement du magasin approuvé pour les certificats X.509.

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

Valeur de propriété

Emplacement du magasin des certificats X.509. La valeur par défaut est LocalMachine.

Attributs

Remarques

Cette propriété est facultative. Il représente l’attribut trustedSToreLocation de l’élément <certificateValidation> .

S’applique à