SecureHttpClient 2.2.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package SecureHttpClient --version 2.2.2
NuGet\Install-Package SecureHttpClient -Version 2.2.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SecureHttpClient" Version="2.2.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SecureHttpClient --version 2.2.2
#r "nuget: SecureHttpClient, 2.2.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install SecureHttpClient as a Cake Addin
#addin nuget:?package=SecureHttpClient&version=2.2.2

// Install SecureHttpClient as a Cake Tool
#tool nuget:?package=SecureHttpClient&version=2.2.2

SecureHttpClient

NuGet

SecureHttpClient is a cross-platform HttpClientHandler library, with additional security features:

  • certificate pinning
  • TLS 1.2+
  • client certificates

Usage:

  • basic usage is similar to System.Net.Http.HttpClientHandler.
  • for advanced usage examples, look into the SecureHttpClient.Test folder.

Tested on the following platforms:

  • Android 5-14 (api 21-34)
  • iOS 17.0
  • .net 8.0

About cookies and redirects:

  • SecureHttpClient handles cookies and redirects, but the behavior can differ a bit from one platform to another, because of different implementations in the native libraries used by SecureHttpClient.
  • for identical behavior between platforms, it's recommended to use Flurl on top of SecureHttpClient, and let Flurl handle cookies and redirects.

Supported frameworks:

  • version 1.x: MonoAndroid ; Xamarin.iOS ; NetStandard
  • version 2.0: net6.0-android ; net6.0-ios ; net6.0-windows
  • version 2.1: net7.0-android ; net7.0-ios ; net7.0-windows
  • version 2.2: net8.0-android ; net8.0-ios ; net8.0-windows
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-android34.0 is compatible.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-ios17.0 is compatible.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.2.6 42 6/24/2024
2.2.5 194 3/13/2024
2.2.4 107 3/6/2024
2.2.3 104 2/20/2024
2.2.2 138 1/15/2024
2.2.1 211 11/22/2023
2.2.0 204 11/17/2023
2.1.3 684 6/2/2023
2.1.2 2,133 4/25/2023
2.1.1 228 3/3/2023
2.1.0 278 12/19/2022
2.0.1 359 10/27/2022
2.0.0 337 10/25/2022
1.18.8 767 10/25/2022
1.18.7 493 7/25/2022
1.18.6 507 3/17/2022
1.18.5 420 11/15/2021
1.18.4 382 10/16/2021
1.18.3 426 6/1/2021
1.18.2 361 5/26/2021
1.18.1 464 2/25/2021
1.18.0 367 2/19/2021
1.17.5 399 2/10/2021
1.17.4 384 2/1/2021
1.17.2 389 1/26/2021
1.17.1 407 1/18/2021
1.17.0 391 1/13/2021
1.16.1 1,575 12/11/2020
1.16.0 453 12/2/2020
1.15.0 451 11/13/2020
1.14.1 481 10/14/2020
1.14.0 606 4/30/2020
1.13.7 622 4/15/2020
1.13.6 736 3/2/2020
1.13.5 510 2/14/2020
1.13.4 506 2/14/2020
1.13.3 539 1/13/2020
1.13.2 558 12/9/2019
1.13.1 559 10/25/2019
1.13.0 546 10/23/2019
1.12.4 691 6/30/2019
1.12.1 598 6/19/2019
1.12.0 672 3/26/2019
1.11.0 1,652 10/10/2018
1.10.0 916 6/20/2018
1.9.0 954 6/8/2018
1.8.0 988 5/25/2018
1.7.0 1,032 4/10/2018
1.6.0 990 10/19/2017
1.5.1 3,495 9/27/2017
1.5.0 997 7/2/2017
1.4.2 1,033 11/30/2016
1.4.1 1,034 11/25/2016
1.3.0 1,031 10/17/2016