IChannelCredentials.SetDefaultServiceCertificateFromStore Method

Definition

Retrieves a certificate from a certificate store and adds it to the service credentials as the default certificate.

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

Parameters

storeLocation
String

Certificate store location.

storeName
String

Certificate store name.

findType
String

Search type.

findValue
Object

Search value.

Applies to