IChannelCredentials.SetClientCertificateFromStore 方法

定义

从证书存储区中检索证书,并将其添加到客户端凭据。

public:
 void SetClientCertificateFromStore(System::String ^ storeLocation, System::String ^ storeName, System::String ^ findType, System::Object ^ findValue);
public void SetClientCertificateFromStore (string storeLocation, string storeName, string findType, object findValue);
abstract member SetClientCertificateFromStore : string * string * string * obj -> unit
Public Sub SetClientCertificateFromStore (storeLocation As String, storeName As String, findType As String, findValue As Object)

参数

storeLocation
String

证书存储区位置。

storeName
String

证书存储区名称。

findType
String

搜索类型。

findValue
Object

搜索值。

适用于