B4n1Web 0.12.3
dotnet add package B4n1Web --version 0.12.3
NuGet\Install-Package B4n1Web -Version 0.12.3
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="B4n1Web" Version="0.12.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="B4n1Web" Version="0.12.3" />
<PackageReference Include="B4n1Web" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add B4n1Web --version 0.12.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: B4n1Web, 0.12.3"
#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.
#:package B4n1Web@0.12.3
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=B4n1Web&version=0.12.3
#tool nuget:?package=B4n1Web&version=0.12.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
B4n1Web C# SDK
Ultra-lightweight agentic browser engine with bundled binary.
Install
dotnet add package B4n1Web
Binary is bundled — no separate installation needed.
Quick Start
using B4N1Web;
var browser = new AgentBrowser(new BrowserOptions { Mode = BrowserMode.Light });
var page = browser.Goto("https://example.com");
Console.WriteLine(page.Markdown);
Console.WriteLine($"{page.Links.Count} links found");
Console.WriteLine(page.GetMainContent());
Console.WriteLine(string.Join(", ", page.FindLinksByText("github")));
browser.Close();
Async
using B4N1Web;
var browser = new AgentBrowser();
var page = await browser.GotoAsync("https://example.com");
Console.WriteLine(page.Markdown);
browser.Close();
Browser Modes
new AgentBrowser(new BrowserOptions { Mode = BrowserMode.Light }); // default
new AgentBrowser(new BrowserOptions { Mode = BrowserMode.JS });
new AgentBrowser(new BrowserOptions { Mode = BrowserMode.Render });
Security
var shield = new SecurityShield();
shield.MarkDomain("evil.com", isSafe: false);
var result = shield.IsUrlSafe("https://evil.com");
// result.IsSafe, result.NeedsApiCheck
Version
SDK: 0.9.8 | Binary: 0.9.6 (bundled)
Links
Built by B4N1 with ❤️ · All rights reserved.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- No dependencies.
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 |
|---|---|---|
| 0.12.3 | 101 | 7/8/2026 |
| 0.12.2 | 96 | 7/6/2026 |
| 0.12.1 | 168 | 7/4/2026 |
| 0.12.0 | 96 | 7/4/2026 |
| 0.11.0 | 105 | 7/2/2026 |
| 0.9.8 | 109 | 7/1/2026 |
| 0.9.7 | 107 | 7/1/2026 |
| 0.9.6 | 111 | 7/1/2026 |
| 0.9.4 | 112 | 6/10/2026 |
| 0.9.3 | 109 | 6/9/2026 |
| 0.9.0 | 115 | 5/23/2026 |
| 0.7.0 | 99 | 5/13/2026 |
| 0.6.2 | 121 | 4/13/2026 |
| 0.6.1 | 113 | 4/13/2026 |
| 0.6.0 | 117 | 4/13/2026 |
| 0.5.0 | 118 | 4/13/2026 |
| 0.4.0 | 114 | 4/11/2026 |