Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

EndpointIdentity::CreateX509CertificateIdentity Method

 

Creates an X509Certificate identity.

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCreateX509CertificateIdentity(X509Certificate2^)

Creates an X509Certificate identity with the specified certificate.

System_CAPS_pubmethodSystem_CAPS_staticCreateX509CertificateIdentity(X509Certificate2^, X509Certificate2Collection^)

Creates an X509Certificate identity with the specified primary and supporting certificates.

Choose between these two constructors based on whether you have supporting certificates.

A secure WCF client that connects to an endpoint with this identity verifies that the claims presented by the server contain the claim that contains the thumbprint of the certificate used to construct this identity.

Return to top
Show:
© 2017 Microsoft