Musoft.Proxy
1.0.4
See the version list below for details.
dotnet add package Musoft.Proxy --version 1.0.4
NuGet\Install-Package Musoft.Proxy -Version 1.0.4
<PackageReference Include="Musoft.Proxy" Version="1.0.4" />
<PackageVersion Include="Musoft.Proxy" Version="1.0.4" />
<PackageReference Include="Musoft.Proxy" />
paket add Musoft.Proxy --version 1.0.4
#r "nuget: Musoft.Proxy, 1.0.4"
#:package Musoft.Proxy@1.0.4
#addin nuget:?package=Musoft.Proxy&version=1.0.4
#tool nuget:?package=Musoft.Proxy&version=1.0.4
Musoft.Proxy (ProxyForge) 🚀
Ultimate Proxy Manager - Rotation, Health Checker, Free Scraper, Ban Detector & WinForms Control for .NET.
Supports HTTP, SOCKS5, intelligent bulk import, parallel auto-checker, ban detection, free proxy scrapers, thread-safe rotation strategies (Round-Robin, Random, Least Latency, Sticky Session), Selenium & HttpClient integration, and a ready-to-use drop-in WinForms UserControl / Form.
📦 NuGet Packages
⚡ Installation
Install via dotnet CLI:
# Core Proxy Management Library
dotnet add package Musoft.Proxy
# Extensions for Selenium & HttpClient
dotnet add package Musoft.Proxy.Extensions
# Complete WinForms UI Control
dotnet add package Musoft.Proxy.WinForms
Or via Package Manager Console in Visual Studio:
Install-Package Musoft.Proxy
Install-Package Musoft.Proxy.Extensions
Install-Package Musoft.Proxy.WinForms
🔥 Key Features
- ⚡ Zero-Config Core & Drop-in WinForms UI: Add
Musoft.Proxyto any .NET project or dropProxyManagerControldirectly into Visual Studio Toolbox. - 🌐 HTTP & SOCKS5 Support: Seamless handling of HTTP, HTTPS, and SOCKS5 proxies (with authentication).
- 🧠 Smart Proxy Parser: Universal format recognition (
host:port,host:port:user:pass,user:pass@host:port,http://...,socks5://...). Automatically strips inline/block comments (#,//) and whitespace. - 🔄 Advanced Rotation Strategies: Round-Robin, Random, Least Latency, and Sticky Session strategies built for high-concurrency multi-threaded apps.
- 🚀 Parallel Health Checker & Latency Test: High-performance async non-blocking proxy validator with progress reporting.
- 🛡️ Ban Detector & Proxy Judge: Detect rate-limits, IP bans, HTTP status codes, block pages, and judge proxy header leaks.
- 🌐 Free Proxy Scraper: Built-in scraper for gathering public proxies automatically.
- 🔌 HttpClient & Selenium Extensions: Effortless integration with standard .NET
HttpClientand Selenium WebDriver. - 🧩 Multi-Targeting:
.NET Framework 4.6.2,.NET Standard 2.0,.NET 6.0,.NET 8.0(and WinForms targets).
💻 Code Examples & Quick Start
1. Basic Proxy Rotation & Management (Musoft.Proxy)
using ProxyForge.Core;
// Create pool and add proxies
var pool = new ProxyPool(RotationMode.RoundRobin);
pool.Add(new ProxyInfo("192.168.1.1", 8080, ProxyType.HTTP));
pool.Add(new ProxyInfo("192.168.1.2", 8080, ProxyType.SOCKS5, "user", "pass"));
// Retrieve next rotated proxy
ProxyInfo proxy = pool.GetNext();
Console.WriteLine($"Using proxy: {proxy.Host}:{proxy.Port}");
2. Intelligent Bulk Parsing
using ProxyForge.Core;
string rawInput = @"
# Bulk Proxies List
192.168.1.1:8080
192.168.1.2:8080:admin:secret123
user:pass@192.168.1.3:8080
socks5://10.0.0.1:1080
socks5://admin:secret@10.0.0.2:1080 // inline comments supported
";
List<ProxyInfo> proxies = ProxyParser.Parse(rawInput, ProxyType.HTTP);
3. HttpClient & Rotated Request (Musoft.Proxy.Extensions)
using System.Net.Http;
using ProxyForge.Core;
using ProxyForge.Extensions;
var manager = new ProxyManager();
manager.AddRange(proxies);
// Auto-create HttpClient with rotated proxy handler
using var client = manager.CreateHttpClient();
string ip = await client.GetStringAsync("https://api.ipify.org?format=json");
4. Selenium Integration (Musoft.Proxy.Extensions)
using OpenQA.Selenium.Chrome;
using ProxyForge.Core;
using ProxyForge.Extensions;
var options = new ChromeOptions();
var proxy = new ProxyInfo("192.168.1.1", 8080, ProxyType.HTTP, "user", "pass");
options.ApplyProxy(proxy);
5. WinForms Drop-in Control (Musoft.Proxy.WinForms)
Drag ProxyManagerControl onto your Visual Studio Form, or use programmatically:
using ProxyForge.WinForms;
public partial class MainForm : Form
{
public MainForm()
{
InitializeComponent();
proxyControl.Manager.DefaultType = ProxyType.HTTP;
proxyControl.Manager.Rotation = RotationMode.RoundRobin;
}
}
🛠️ Solution Architecture
/src/ProxyForge.Core/ # Core Engine (Musoft.Proxy - Parsing, Rotation, Health, Scraper)
/src/ProxyForge.Extensions/ # Integration Extensions (Musoft.Proxy.Extensions - HttpClient & Selenium)
/src/ProxyForge.WinForms/ # WinForms UI Control (Musoft.Proxy.WinForms - UserControl & Form)
/demo/DemoApp/ # Executable WinForms Demo Application
📄 License
Distributed under the MIT License. See LICENSE for details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. 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 is compatible. 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 | 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 was computed. |
| .NET Framework | net461 was computed. net462 is compatible. 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. |
-
.NETFramework 4.6.2
- HtmlAgilityPack (>= 1.11.72)
- HttpToSocks5Proxy (>= 1.4.0)
- System.Text.Json (>= 8.0.5)
-
.NETStandard 2.0
- HtmlAgilityPack (>= 1.11.72)
- HttpToSocks5Proxy (>= 1.4.0)
- System.Text.Json (>= 8.0.5)
-
net6.0
- HtmlAgilityPack (>= 1.11.72)
- HttpToSocks5Proxy (>= 1.4.0)
-
net8.0
- HtmlAgilityPack (>= 1.11.72)
- HttpToSocks5Proxy (>= 1.4.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Musoft.Proxy:
| Package | Downloads |
|---|---|
|
Musoft.Proxy.WinForms
The most complete WinForms proxy manager control for ProxyForge / Musoft.Proxy. Supports HTTP, SOCKS5, bulk import, auto-checker, rotation, and latency test. Drop-in UserControl. |
|
|
Musoft.Proxy.Extensions
Extensions for Musoft.Proxy including Selenium ChromeOptions integration and HttpClient rotating proxy helpers. |
GitHub repositories
This package is not used by any popular GitHub repositories.