Constructor CertificateCredential
CertificateCredential(X509Certificate)
Initializes a new instance of the CertificateCredential class with the specified client certificate.
Declaration
public CertificateCredential(X509Certificate clientCertificate)
Parameters
| Type | Name | Description |
|---|---|---|
| X509Certificate | clientCertificate | The client certificate. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| UWP | 100.15 |
CertificateCredential(Uri, X509Certificate)
Initializes a new instance of the CertificateCredential class for the specified service with the specified client certificate.
Declaration
public CertificateCredential(Uri serviceUri, X509Certificate clientCertificate)
Parameters
| Type | Name | Description |
|---|---|---|
| Uri | serviceUri | The service that can be accessed with this credential. |
| X509Certificate | clientCertificate | The client certificate. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| UWP | 100.15 |
CertificateCredential(String, X509Certificate)
Initializes a new instance of the CertificateCredential class for the specified service with the specified client certificate.
Declaration
public CertificateCredential(string serviceUrl, X509Certificate clientCertificate)
Parameters
| Type | Name | Description |
|---|---|---|
| String | serviceUrl | The service that can be accessed with this credential. |
| X509Certificate | clientCertificate | The client certificate. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| UWP | 100.15 |