DotNetBrowser 1.13.0

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
Additional Details

DotNetBrowser 1.x is no longer officially supported by TeamDev:
https://dotnetbrowser-support.teamdev.com/docs/guides/migration/v1-v2.html#how-long-will-dotnetbrowser-version-1x-be-supported

There is a newer version of this package available.
See the version list below for details.
The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package DotNetBrowser --version 1.13.0
NuGet\Install-Package DotNetBrowser -Version 1.13.0
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="DotNetBrowser" Version="1.13.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DotNetBrowser --version 1.13.0
#r "nuget: DotNetBrowser, 1.13.0"
#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.
// Install DotNetBrowser as a Cake Addin
#addin nuget:?package=DotNetBrowser&version=1.13.0

// Install DotNetBrowser as a Cake Tool
#tool nuget:?package=DotNetBrowser&version=1.13.0

A Chromium-based WPF/WinForms component that can be embedded into your .NET application to display modern web pages built with HTML5, CSS3, JavaScript, Silverlight etc.

To be able to use DotNetBrowser, you should obtain a licence by filling a form at https://www.teamdev.com/dotnetbrowser#evaluate

Product Compatible and additional computed target framework versions.
.NET Framework net is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on DotNetBrowser:

Package Downloads
DotNetBrowser.Wpf The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

A Chromium-based WPF component that can be embedded into your .NET application to display modern web pages built with HTML5, CSS3, JavaScript etc. You can obtain a free 30-day trial by filling a form at https://www.teamdev.com/dotnetbrowser#evaluate

DotNetBrowser.WinForms The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

A Chromium-based WinForms component that can be embedded into your .NET application to display modern web pages built with HTML5, CSS3, JavaScript etc. You can obtain a free 30-day trial by filling a form at https://www.teamdev.com/dotnetbrowser#evaluate

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on DotNetBrowser:

Repository Stars
Necrobot-Private/NecroBot
NecroBot2
Version Downloads Last updated
2.26.2 0 4/24/2024
2.26.1 292 3/28/2024
2.26.0 975 2/27/2024
2.25.1 697 1/22/2024
2.25.0 2,376 12/27/2023
2.24.2 1,539 11/22/2023
2.24.1 1,518 10/20/2023
2.24.0 1,820 10/3/2023
2.23.3 1,117 9/6/2023
2.23.2 1,026 8/3/2023
2.23.1 2,198 6/22/2023
2.23.0 3,642 5/25/2023
2.22.1 825 4/27/2023
2.22.0 2,057 3/23/2023
2.21.0 2,431 2/27/2023
2.20.1 1,642 2/7/2023
2.20.0 1,333 12/28/2022
2.19.0 945 12/5/2022
2.18.0 4,489 10/21/2022
2.17.0 1,566 10/5/2022
2.16.1 2,700 8/23/2022
2.16.0 2,092 8/8/2022
2.15.1 2,393 6/17/2022
2.15.0 1,412 6/14/2022
2.14.0 3,475 4/29/2022
2.13.1 3,217 4/12/2022
2.13.0 1,413 4/7/2022
2.12.0 2,750 3/23/2022
2.11.0 9,368 1/14/2022
2.10.0 4,245 11/18/2021
2.9.0 16,229 9/24/2021
2.8.0 2,818 8/20/2021
2.7.0 1,680 7/26/2021
2.6.0 3,929 5/27/2021
2.5.0 4,100 4/7/2021
2.4.0 3,673 3/2/2021
2.3.0 7,292 11/26/2020
2.2.0 4,557 9/9/2020
2.1.1 7,935 7/2/2020
2.1.0 1,460 6/18/2020
2.0.0 6,146 2/27/2020

This version of the library was extended with the features, allowing to intercept all the URL requests for both standard URL schemes (such as http, https, ftp, file), and custom schemes declared in your application. After registering a protocol handler for a scheme, all the URLs with the specified scheme loaded into the Browser will be handled by this handler.

Protocol Handler

Implementing a new custom protocol handler in DotNetBrowser is pretty simple:

C#
public class HttpsHandler : IProtocolHandler
   {
       //This method should provide the response for the specified request
       public IUrlResponse Handle(IUrlRequest request)
       {
           string htmlContent = "Request Url: " + request.Url + "\n";
           return new UrlResponse(Encoding.UTF8.GetBytes(htmlContent));
       }
   }

This custom protocol handler can then be installed for the particular BrowserContext:

C#
browser.Context.ProtocolService.Register("https", new HttpsHandler());

After the handler is installed, any URL having the https scheme will be handled by this custom handler.

See an example.

BrowserPreferences.CrashDumpDir property

The BrowserPreferences.CrashDumpDir is a read-write static property which can be used to specify the directory for storing the generated Chromium crash dumps. This property should be specified before creating any Browser or BrowserView instance in your code.

Fixed issues:
Heavyweight WPFBrowserView not shown properly when placed inside an Expander control. Before the fix, the BrowserView appeared to be misplaced after collapsing and restoring the Expander.
Heavyweight WPFBrowserView disposed improperly for the case when the Window.Closing event was canceled for a parent window.
The focus issue when the FireMouseEventsEnabled property was set to true in the heavyweight WPFBrowserView. Now, the drop-downs on the web page are working properly on a mouse click when this option is enabled.
Calculating the bounds in the heavyweight WPFBrowserView for the environments with the non-default DPI settings, causing incorrect positioning of the native window.
DisplayHeaderFooter property for built-in PDF printing being ignored. In the previous implementation, the headers and footers were not printed even if the option was enabled.
Event handlers being specified through the designer. Before the fix, specifying the event handler in the designer led to ignoring the BrowserType and URL properties.
Improper popup sizes provided to the PopupContainer in the environments with the non-default DPI settings.