HttpSettingsExtensions.

UseClientCertificates(HttpSettings, IEnumerable<X509Certificate2>) Method

Summary

Adds client certificate(s) to the http handler.
Assembly
Cake.Http.dll
Namespace
Cake.Http
Containing Type
HttpSettingsExtensions

Syntax

public static HttpSettings UseClientCertificates(this HttpSettings settings, IEnumerable<X509Certificate2> clientCertificates)

Parameters

Name Type Description
settings HttpSettings The settings.
clientCertificates IEnumerable<X509Certificate2> Client certificates to include in requests.

Return Value

Type Description
HttpSettings