HttpClientHandler.ClientCertificates Property

Definition

Gets the collection of security certificates that are associated with requests to the server.

public:
 property System::Security::Cryptography::X509Certificates::X509CertificateCollection ^ ClientCertificates { System::Security::Cryptography::X509Certificates::X509CertificateCollection ^ get(); };
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public System.Security.Cryptography.X509Certificates.X509CertificateCollection ClientCertificates { get; }
public System.Security.Cryptography.X509Certificates.X509CertificateCollection ClientCertificates { get; }
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
member this.ClientCertificates : System.Security.Cryptography.X509Certificates.X509CertificateCollection
member this.ClientCertificates : System.Security.Cryptography.X509Certificates.X509CertificateCollection
Public ReadOnly Property ClientCertificates As X509CertificateCollection

Property Value

The X509CertificateCollection that is presented to the server when performing certificate based client authentication.

Attributes

Remarks

On .NET Core, the key usage attribute on the X509 certificate, if present, is required to have the value "Digital Signature" in order to be used when sending the request.

Applies to