共用方式為


X509PeerCertificateAuthenticationElement.TrustedStoreLocation 屬性

定義

取得或設定驗證對等憑證的受信任的存放區位置。

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

屬性值

StoreLocation

受信任存放區位置,在此處驗證對等憑證。

屬性

備註

Windows Communication Foundation (WCF) 安全性系統會對對等憑證進行驗證 StoreLocation 。 存放區位置是使用這個屬性所指定。

適用於