dotnet add package StandardSocketsHttpHandler --version                
NuGet\Install-Package StandardSocketsHttpHandler -Version                
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="StandardSocketsHttpHandler" Version="" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add StandardSocketsHttpHandler --version                
#r "nuget: StandardSocketsHttpHandler,"                
#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 StandardSocketsHttpHandler as a Cake Addin
#addin nuget:?package=StandardSocketsHttpHandler&version=

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


StandardSocketsHttpHandler is a backport of SocketsHttpHandler to .NET Standard 2.0.

Features added to StandardSocketsHttpHandler:

• .NET Standard 2.0 compatibility (.NET Framework 4.7.2 is supported)
• ConnectCallback property - allows configuration of various socket options (TCP Keepalive, etc.)

Features missing from StandardSocketsHttpHandler:

• Windows Authentication (NLTM & Kerberos)
• Operating System proxy settings detection.

Using StandardSocketsHttpHandler:

HttpClient client = new HttpClient(new StandardSocketsHttpHandler())


If you have any question, feel free to contact me.
Tal Aloni

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

  • .NETStandard 2.1

    • No dependencies.

NuGet packages (13)

Showing the top 5 NuGet packages that depend on StandardSocketsHttpHandler:

Package Downloads

Official C#/.NET wrapper for the Vonage API. To use it you will need a Vonage account. Sign up for free at For full API documentation refer to


A Core Framework for Rapid Application Development


.Net C# library for the new Amazon Selling Partner API


Official C#/.NET wrapper for the Vonage API. To use it you will need a Vonage account. Sign up for free at For full API documentation refer to


Client library to include in your project when using fig managed settings.

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on StandardSocketsHttpHandler:

Repository Stars
The official repository for MonoTorrent, a bittorrent library for .NET
Mod, plugin and card manager for games by Illusion that use BepInEx
.Net C# library for the new Amazon Selling Partner API
Version Downloads Last updated 62,500 1/20/2024 89 1/19/2024 6,642 12/7/2023 61,935 5/20/2023 247,930 1/27/2022 59,311 10/7/2021 7,609 6/10/2021 7,467 5/12/2021
2.2.0 288,945 4/14/2020
2.1.0 1,078 3/24/2020