IChannelCredentials.SetClientCertificateFromStoreByName Method

Definition

Retrieves a certificate from a certificate store by name and adds it to the client credentials.

public:
 void SetClientCertificateFromStoreByName(System::String ^ subjectName, System::String ^ storeLocation, System::String ^ storeName);
public void SetClientCertificateFromStoreByName (string subjectName, string storeLocation, string storeName);
abstract member SetClientCertificateFromStoreByName : string * string * string -> unit
Public Sub SetClientCertificateFromStoreByName (subjectName As String, storeLocation As String, storeName As String)

Parameters

subjectName
String

Certificate subject name.

storeLocation
String

Certificate store location.

storeName
String

Certificate store name.

Applies to