B4n1Web 0.9.4

dotnet add package B4n1Web --version 0.9.4
                    
NuGet\Install-Package B4n1Web -Version 0.9.4
                    
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.9.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="B4n1Web" Version="0.9.4" />
                    
Directory.Packages.props
<PackageReference Include="B4n1Web" />
                    
Project file
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.9.4
                    
#r "nuget: B4n1Web, 0.9.4"
                    
#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.9.4
                    
#: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.9.4
                    
Install as a Cake Addin
#tool nuget:?package=B4n1Web&version=0.9.4
                    
Install as a Cake Tool

B4n1Web C# SDK

NuGet License: MIT

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.4.0 | Binary: 0.4.0 (bundled)


Built by B4N1 with ❤️ · All rights reserved.

Product 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.9.4 0 6/10/2026
0.9.3 68 6/9/2026
0.9.0 102 5/23/2026
0.7.0 92 5/13/2026
0.6.2 111 4/13/2026
0.6.1 103 4/13/2026
0.6.0 105 4/13/2026
0.5.0 108 4/13/2026
0.4.0 105 4/11/2026