Constructor CertificateCredential
CertificateCredential(Uri, X509Certificate)
Initializes a new instance of the Certificate
Declaration
public CertificateCredential(Uri serviceUri, X509Certificate clientCertificate)
Parameters
Type | Name | Description |
---|---|---|
System. |
serviceUri | The service that can be accessed with this credential. |
System. |
clientCertificate | The client certificate. |
Exceptions
Type | Condition |
---|---|
System. |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.14 - 200.6 |
.NET | 100.14 - 200.6 |
.NET Windows | 100.14 - 200.6 |
.NET Android | 200.2 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.14 - 200.6 |
Xamarin.Android | 100.14 |
Xamarin.iOS | 100.14 - 100.15 |
UWP | 100.14 - 200.6 |
CertificateCredential(String, X509Certificate)
Initializes a new instance of the Certificate
Declaration
public CertificateCredential(string serviceUrl, X509Certificate clientCertificate)
Parameters
Type | Name | Description |
---|---|---|
System. |
serviceUrl | The service that can be accessed with this credential. |
System. |
clientCertificate | The client certificate. |
Exceptions
Type | Condition |
---|---|
System. |
|
System. |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.14 - 200.6 |
.NET | 100.14 - 200.6 |
.NET Windows | 100.14 - 200.6 |
.NET Android | 200.2 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.14 - 200.6 |
Xamarin.Android | 100.14 |
Xamarin.iOS | 100.14 - 100.15 |
UWP | 100.14 - 200.6 |