共用方式為


X509PeerCertificateAuthentication.TrustedStoreLocation 屬性

定義

取得或設定要驗證其中用戶端憑證的受信任存放區位置。

public:
 property System::Security::Cryptography::X509Certificates::StoreLocation TrustedStoreLocation { System::Security::Cryptography::X509Certificates::StoreLocation get(); void set(System::Security::Cryptography::X509Certificates::StoreLocation value); };
public System.Security.Cryptography.X509Certificates.StoreLocation TrustedStoreLocation { get; set; }
member this.TrustedStoreLocation : System.Security.Cryptography.X509Certificates.StoreLocation with get, set
Public Property TrustedStoreLocation As StoreLocation

屬性值

StoreLocation

受信任存放區位置,在此處驗證用戶端憑證。

例外狀況

當認證為唯讀時設定。

備註

使用憑證時,Windows Communication Foundation (WCF) 安全性系統會根據來驗證用戶端憑證 StoreLocation 。 存放區位置是使用這個參數指定。

適用於