X509DefaultServiceCertificateElement.StoreLocation 属性

定义

获取或设置一个值,该值指定客户端可用于验证服务器证书的证书存储位置。Gets or sets a value that specifies the location of the certificate store the client can use to validate the server's certificate.

public:
 property System::Security::Cryptography::X509Certificates::StoreLocation StoreLocation { System::Security::Cryptography::X509Certificates::StoreLocation get(); void set(System::Security::Cryptography::X509Certificates::StoreLocation value); };
[System.Configuration.ConfigurationProperty("storeLocation", DefaultValue=Mono.Cecil.CustomAttributeArgument)]
public System.Security.Cryptography.X509Certificates.StoreLocation StoreLocation { get; set; }
[System.Configuration.ConfigurationProperty("storeLocation", DefaultValue=Mono.Cecil.CustomAttributeArgument, Options=System.Configuration.ConfigurationPropertyOptions.None)]
public System.Security.Cryptography.X509Certificates.StoreLocation StoreLocation { get; set; }
[<System.Configuration.ConfigurationProperty("storeLocation", DefaultValue=Mono.Cecil.CustomAttributeArgument)>]
member this.StoreLocation : System.Security.Cryptography.X509Certificates.StoreLocation with get, set
[<System.Configuration.ConfigurationProperty("storeLocation", DefaultValue=Mono.Cecil.CustomAttributeArgument, Options=System.Configuration.ConfigurationPropertyOptions.None)>]
member this.StoreLocation : System.Security.Cryptography.X509Certificates.StoreLocation with get, set
Public Property StoreLocation As StoreLocation

属性值

StoreLocation

一个 StoreLocation ,指定客户端可用来验证服务器证书的证书存储区的位置。A StoreLocation that specifies the location of the certificate store the client can use to validate the server's certificate. 默认值是 LocalMachineThe default value is LocalMachine.

属性

适用于