TlsClient.Provider.HttpClient
0.4.6
dotnet add package TlsClient.Provider.HttpClient --version 0.4.6
NuGet\Install-Package TlsClient.Provider.HttpClient -Version 0.4.6
<PackageReference Include="TlsClient.Provider.HttpClient" Version="0.4.6" />
<PackageVersion Include="TlsClient.Provider.HttpClient" Version="0.4.6" />
<PackageReference Include="TlsClient.Provider.HttpClient" />
paket add TlsClient.Provider.HttpClient --version 0.4.6
#r "nuget: TlsClient.Provider.HttpClient, 0.4.6"
#:package TlsClient.Provider.HttpClient@0.4.6
#addin nuget:?package=TlsClient.Provider.HttpClient&version=0.4.6
#tool nuget:?package=TlsClient.Provider.HttpClient&version=0.4.6
TlsClient.HttpClient
Integration of TlsClient.NET with the built-in .NET HttpClient.
This package provides a TlsClientHandler that plugs directly into HttpClient, enabling advanced TLS fingerprinting and browser emulation in any .NET application.
📦 Installation
Install from NuGet:
dotnet add package TlsClient.Provider.HttpClient
🚀 Usage
💡
TlsClientHandleris a standardHttpMessageHandler. That means you can continue using all features of HttpClient exactly the same way as before.
Basic Example
using System;
using System.Net.Http;
using TlsClient.Core;
using TlsClient.HttpClient;
// initialize Wrapper
TlsClient.Initialize("{LIBRARY_PATH}");
// create a TlsClient instance
var tlsClient = new TlsClientBuilder()
.WithIdentifier(TlsClientIdentifier.Chrome132)
.WithUserAgent("TestClient 1.0")
.Build();
// create a handler using the TlsClient
var handler = new TlsClientHandler(tlsClient);
// create a standard HttpClient with the TlsClient handler
var httpClient = new HttpClient(handler);
// make request
var response = await httpClient.GetAsync("https://httpbin.org/get");
var content = await response.Content.ReadAsStringAsync();
Console.WriteLine(content);
📜 License
This project is licensed under the MIT License. See the LICENSE file for details.
| Product | Versions 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 is compatible. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- TlsClient.Core (>= 0.4.6)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on TlsClient.Provider.HttpClient:
| Package | Downloads |
|---|---|
|
TlsClient.Provider.RestSharp
TlsClient.RestSharp is an addon for the TlsClient library that provides seamless integration with the RestSharp HTTP client for .NET. |
GitHub repositories
This package is not used by any popular GitHub repositories.