![]() |
VOOZH | about |
dotnet add package System.Net.Http.WinHttpHandler --version 10.0.9
NuGet\Install-Package System.Net.Http.WinHttpHandler -Version 10.0.9
<PackageReference Include="System.Net.Http.WinHttpHandler" Version="10.0.9" />
<PackageVersion Include="System.Net.Http.WinHttpHandler" Version="10.0.9" />Directory.Packages.props
<PackageReference Include="System.Net.Http.WinHttpHandler" />Project file
paket add System.Net.Http.WinHttpHandler --version 10.0.9
#r "nuget: System.Net.Http.WinHttpHandler, 10.0.9"
#:package System.Net.Http.WinHttpHandler@10.0.9
#addin nuget:?package=System.Net.Http.WinHttpHandler&version=10.0.9Install as a Cake Addin
#tool nuget:?package=System.Net.Http.WinHttpHandler&version=10.0.9Install as a Cake Tool
This package provides an HttpMessageHandler implementation backed by Windows HTTP Services (WinHTTP).
While the use of the default HttpClientHandler is highly recommended for applications targeting modern .NET, WinHttpHandler might help migration scenarios by providing an alternative HTTP backend for Windows that works consistently accross .NET Framework and modern .NET.
HttpClient on Windows.WinHttpHandler.using System.Net;
using WinHttpHandler handler = new()
{
ServerCredentials = new NetworkCredential("usr", "pwd")
};
using HttpClient client = new(handler);
using HttpRequestMessage request = new(HttpMethod.Get, "https://httpbin.org/basic-auth/usr/pwd");
using HttpResponseMessage response = await client.SendAsync(request);
Console.WriteLine($"Status: {response.StatusCode}");
if (response.IsSuccessStatusCode)
{
string content = await response.Content.ReadAsStringAsync();
Console.WriteLine(content);
}
The main types provided by this library are:
System.Net.Http.WinHttpHandlerSystem.Net.Http.WinHttpHandler is released as open source under the MIT license. Bug reports and contributions are welcome at the GitHub repository.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 was computed. |
| .NET Framework | net461 net461 was computed. net462 net462 is compatible. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 5 NuGet packages that depend on System.Net.Http.WinHttpHandler:
| Package | Downloads |
|---|---|
|
Grpc.Net.Client
.NET client for gRPC |
|
|
Microsoft.Graph.Core
Microsoft Graph Core Client Library implements core functionality used by Microsoft Graph client libraries. |
|
|
Microsoft.Kiota.Http.HttpClientLibrary
Kiota Http provider implementation for dotnet with HttpClient. |
|
|
VaultSharp
The most comprehensive .NET Library for HashiCorp's Vault which is a modern secret management system. * VaultSharp supports all Auth methods, all Secrets Engines and most System Apis supported by Vault. * VaultSharp has first class support for Consul and Enterpise Vault APIs etc. * Enterprise APIs like Control Groups, Transform Secrets Engine & KMIP Secrets Engine etc. This library is built with .NET Standard 2.0, .NET Standard 2.1, 4.6.2, 4.7.2*, 4.8, .NET 6, .NET 7 and .NET 8 and hence is cross-platform across .NET Core 2.x, 3.x, .NET Frameworks 4.x, Xamarin iOS, Android, Mac, UWP etc. |
|
|
Microsoft.Azure.DocumentDB
Please note, a newer package, Microsoft.Azure.Cosmos, is available. While this package will continue to receive critical bug fixes, we strongly encourage you to upgrade. See https://aka.ms/migrate-to-cosmos-dotnet-v3 for more details. This client library enables client applications to connect to Azure Cosmos DB via the NoSQL API. Azure Cosmos DB is a globally distributed, multi-model database service. |
Showing the top 20 popular GitHub repositories that depend on System.Net.Http.WinHttpHandler:
| Repository | Stars |
|---|---|
|
PowerShell/PowerShell
PowerShell for every system!
|
|
|
dotnet/runtime
.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
|
|
|
win-acme/win-acme
Automate SSL/TLS certificates on Windows with ease
|
|
|
grpc/grpc-dotnet
gRPC for .NET
|
|
|
netwrix/pingcastle
PingCastle - Get Active Directory Security at 80% in 20% of the time
|
|
|
aspnet/KestrelHttpServer
[Archived] A cross platform web server for ASP.NET Core. Project moved to https://github.com/aspnet/AspNetCore
|
|
| BedrockLauncher/BedrockLauncher | |
|
aspnet/Benchmarks
Benchmarks for ASP.NET Core
|
|
|
AlexWan/OsEngine
Open Source algo trading platform
|
|
|
dotnet/dotnet-api-docs
.NET API reference documentation (.NET 5+, .NET Core, .NET Framework)
|
|
|
mili-tan/AuroraDNS.GUI
纯净抗污染,简单轻量级
|
|
|
Kyrodan/KeeAnywhere
A cloud storage provider plugin for KeePass Password Safe
|
|
|
PlayFab/consuldotnet
.NET API for Consul (http://www.consul.io/)
|
|
|
chummer5a/chummer5a
Character generator for Shadowrun 5th edition
|
|
|
apache/arrow-adbc
Database connectivity API standard and libraries for Apache Arrow
|
|
|
DataDog/dd-trace-dotnet
.NET Client Library for Datadog APM
|
|
|
simple-acme/simple-acme
A simple cross platform ACME client (for use with Let's Encrypt et al.)
|
|
|
rajanadar/VaultSharp
A comprehensive cross-platform .NET Library for HashiCorp's Vault, a secret management tool
|
|
|
microsoft/RTVS
R Tools for Visual Studio.
|
|
|
VSadov/Satori
Experimenting with dotnet runtime.
|
| Version | Downloads | Last Updated |
|---|---|---|
| 11.0.0-preview.5.26302.115 | 763 | 6/9/2026 |
| 11.0.0-preview.4.26230.115 | 841 | 5/12/2026 |
| 11.0.0-preview.3.26207.106 | 1,827 | 4/14/2026 |
| 11.0.0-preview.2.26159.112 | 1,318 | 3/10/2026 |
| 11.0.0-preview.1.26104.118 | 2,279 | 2/10/2026 |
| 10.0.9 | 16,193 | 6/9/2026 |
| 10.0.8 | 53,732 | 5/12/2026 |
| 10.0.7 | 151,199 | 4/21/2026 |
| 10.0.6 | 22,417 | 4/14/2026 |
| 10.0.5 | 238,795 | 3/12/2026 |
| 10.0.4 | 8,128 | 3/10/2026 |
| 10.0.3 | 110,031 | 2/10/2026 |
| 10.0.2 | 365,476 | 1/13/2026 |
| 10.0.1 | 83,650 | 12/9/2025 |
| 9.0.17 | 617 | 6/9/2026 |
| 9.0.16 | 12,038 | 5/12/2026 |
| 9.0.15 | 29,585 | 4/14/2026 |
| 9.0.14 | 57,942 | 3/10/2026 |
| 9.0.13 | 5,332 | 2/10/2026 |
| 9.0.12 | 9,475 | 1/13/2026 |