![]() |
VOOZH | about |
dotnet add package DotNetBrowser.WinUi3 --version 4.1.1
NuGet\Install-Package DotNetBrowser.WinUi3 -Version 4.1.1
<PackageReference Include="DotNetBrowser.WinUi3" Version="4.1.1" />
<PackageVersion Include="DotNetBrowser.WinUi3" Version="4.1.1" />Directory.Packages.props
<PackageReference Include="DotNetBrowser.WinUi3" />Project file
paket add DotNetBrowser.WinUi3 --version 4.1.1
#r "nuget: DotNetBrowser.WinUi3, 4.1.1"
#:package DotNetBrowser.WinUi3@4.1.1
#addin nuget:?package=DotNetBrowser.WinUi3&version=4.1.1Install as a Cake Addin
#tool nuget:?package=DotNetBrowser.WinUi3&version=4.1.1Install as a Cake Tool
Integrate a Chromium-based browser into your .NET application to load and process modern web pages built with HTML5, CSS3, JavaScript etc.
To be able to use DotNetBrowser, you should obtain a license. A free 30-day evaluation license can be requested by filling a form at https://www.teamdev.com/dotnetbrowser#evaluate
DotNetBrowser provides API that can be used to interact with a huge set of various Chromium features directly from the code:
See the examples to understand what can be implemented with DotNetBrowser.
All required Chromium binaries are deployed as DotNetBrowser DLLs and can be extracted automatically during execution. You don't need to pre-install Chromium, Google Chrome, or a Chromium-based runtime to work with DotNetBrowser.
The current release of DotNetBrowser uses Chromium build 149.0.7827.103.
DotNetBrowser can be used in Windows services and server apps. The web page can be loaded and rendered completely in memory without displaying any visible windows. You can then take a screenshot of the loaded web page.
DotNetBrowser provides means to simulate mouse and keyboard input and interact with the web page programmatically - exactly as regular users do.
DotNetBrowser provides UI controls for WPF and Windows Forms applications. These controls can be used to display web pages as integral parts of the .NET applications. It is also possible to use DotNetBrowser to create VSTO add-ins.
Note: The VB.NET examples can be found in the examples repository.
XAML
<Window x:Class="Sample.Wpf.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:wpf="clr-namespace:DotNetBrowser.Wpf;assembly=DotNetBrowser.Wpf"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800" Closed="MainWindow_OnClosed">
<Grid>
<wpf:BrowserView x:Name="browserView"/>
</Grid>
</Window>
Code
using System;
using System.Windows;
using DotNetBrowser.Browser;
using DotNetBrowser.Engine;
namespace Sample.Wpf {
public partial class MainWindow : Window {
private readonly IEngine engine;
private readonly IBrowser browser;
public MainWindow() {
InitializeComponent();
// Create and initialize the IEngine
engine = EngineFactory.Create();
// Create the IBrowser
browser = engine.CreateBrowser();
browser.Navigation.LoadUrl("https://html5test.teamdev.com/");
// Initialize the WPF BrowserView control
browserView.InitializeFrom(browser);
}
private void MainWindow_OnClosed(object sender, EventArgs e) {
browser.Dispose();
engine.Dispose();
}
}
}
using System;
using System.Windows.Forms;
using DotNetBrowser.Browser;
using DotNetBrowser.Engine;
using DotNetBrowser.WinForms;
namespace Sample.WinForms {
public partial class Form1 : Form {
private readonly IEngine engine;
private readonly IBrowser browser;
public Form1() {
InitializeComponent();
// Create and initialize the IEngine
engine = EngineFactory.Create();
// Create the Windows Forms BrowserView control
BrowserView browserView = new BrowserView() {
Dock = DockStyle.Fill
};
// Create the IBrowser
browser = engine.CreateBrowser();
browser.Navigation.LoadUrl("https://html5test.teamdev.com/");
// Initialize the Windows Forms BrowserView control
browserView.InitializeFrom(browser);
// Add the BrowserView control to the Form
Controls.Add(browserView);
Closed += Form1Closed;
}
private void Form1Closed(object sender, EventArgs e) {
browser.Dispose();
engine.Dispose();
}
}
}
AXAML
<Window xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:app="clr-namespace:DotNetBrowser.AvaloniaUi;assembly=DotNetBrowser.AvaloniaUi"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:Class="Embedding.AvaloniaUi.MainWindow"
Title="Embedding.AvaloniaUi" Closed="Window_Closed">
<app:BrowserView x:Name="BrowserView"/>
</Window>
Code
using System;
using Avalonia.Controls;
using DotNetBrowser.Browser;
using DotNetBrowser.Engine;
namespace Embedding.AvaloniaUi
{
/// <summary>
/// This example demonstrates how to embed DotNetBrowser
/// into an Avalonia application.
/// </summary>
public partial class MainWindow : Window
{
private const string Url = "https://html5test.teamdev.com/";
private readonly IBrowser browser;
private readonly IEngine engine;
public MainWindow()
{
// Create and initialize the IEngine
engine = EngineFactory.Create();
// Create the IBrowser instance.
browser = engine.CreateBrowser();
InitializeComponent();
// Initialize the Avalonia UI BrowserView control.
BrowserView.InitializeFrom(browser);
browser.Navigation.LoadUrl(Url);
}
private void Window_Closed(object? sender, EventArgs e)
{
browser?.Dispose();
engine?.Dispose();
}
}
}
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0-windows10.0.19041 net6.0-windows10.0.19041 is compatible. net7.0-windows net7.0-windows was computed. net8.0-windows net8.0-windows was computed. net9.0-windows net9.0-windows was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.1.1 | 74 | 6/17/2026 |
| 4.1.0 | 123 | 5/28/2026 |
| 4.0.1 | 110 | 5/4/2026 |
| 4.0.0 | 107 | 4/28/2026 |
| 3.5.1 | 138 | 3/26/2026 |
| 3.5.0 | 122 | 2/18/2026 |
| 3.4.0 | 130 | 1/21/2026 |
| 3.3.7 | 298 | 12/18/2025 |
| 3.3.6 | 214 | 11/26/2025 |
| 3.3.5 | 194 | 11/7/2025 |
| 3.3.4 | 169 | 10/10/2025 |
| 3.3.3 | 365 | 9/17/2025 |
| 3.3.2 | 236 | 8/14/2025 |
| 3.3.1 | 221 | 7/16/2025 |
| 3.3.0 | 220 | 6/20/2025 |
| 3.2.1 | 266 | 5/26/2025 |
| 3.2.0 | 271 | 4/23/2025 |
| 3.1.2 | 582 | 3/26/2025 |
| 3.1.1 | 267 | 3/3/2025 |
| 3.1.0 | 245 | 2/17/2025 |
We've bumped Chromium to version 149.0.7827.103.
Find more about fixes and improvements in our release notes:
https://teamdev.com/dotnetbrowser/release-notes/2026/v4-1-1.html