SetCertificate Method

X509CertificateInitiatorClientCredential.SetCertificate Method

 

Specifies the certificate to use to represent the service.

Namespace:   System.ServiceModel.Security
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

NameDescription
System_CAPS_pubmethodSetCertificate(StoreLocation, StoreName, X509FindType, Object)

Allows you to specify the certificate to use to represent the client by specifying query parameters such as storeLocation, storeName, findType and findValue.

System_CAPS_pubmethodSetCertificate(String, StoreLocation, StoreName)

Allows you to specify the certificate to use to represent the service by specifying the subject distinguished name.

Return to top
Show:
© 2016 Microsoft