HttpSettingsExtensions.

UseClientCertificates(HttpSettings, 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, params X509Certificate2[] clientCertificates)

Parameters

Name Type Description
settings HttpSettings The settings.
clientCertificates X509Certificate2[] Client certificates to include in requests.

Return Value

Type Description
HttpSettings