Use this tag for questions about DotNetBrowser, a Chromium-based control which allows .NET applications to display web pages.
Definition:
DotNetBrowser is a .NET Library which allows embedding a Chromium-based control into .NET applications to display modern web pages built with HTML5, CSS3, JavaScript, etc. DotNetBrowser supports both WPF and WinForms .NET graphical subsystems and provides WPF/WinForms UI controls which you can embed into your .NET Desktop Application to display web pages.
Main features:
- WPF / WinForms Control
- Display Web Accurately
- HTML5, CSS3, JavaScript Support
- Multi-Process Architecture
- Browser Events Listeners
- JavaScript Dialogs Handler
A full list of features can be found here: https://www.teamdev.com/dotnetbrowser#features
System requirements:
Microsoft Windows
- Windows 10, 8, 8.1 & 7
- Windows Server 2016, 2012 & 2008 R2
Microsoft Visual Studio
- 2013, 2015 & 2017
.NET Framework
- 4.0 or higher
More info & reading:
Code example:
WinForms:
BrowserView browserView = new WinFormsBrowserView();
Controls.Add((Control) browserView);
browserView.Browser.LoadURL("http://www.google.com");
WPF:
<Grid Name="mainLayout">
</Grid>
webView = new WPFBrowserView(BrowserFactory.Create());
mainLayout.Children.Add((UIElement)webView.GetComponent());
webView.Browser.LoadURL("http://www.google.com");