0

I am using Visual Studio C# found an ActiveX control but it looks like it's an old version.

I need:

  • A browser that can integrate inside a window of my application (not a separate window)

  • A good support for CSS, js and other web technologies, on par with any modern browser

  • Basic browser functions like "navigate", "back", "reload"... Liberal access to the page code and output.

Sam
  • 11
  • 1
  • 1
  • 5

4 Answers4

4

Take a look at CefSharp: https://github.com/cefsharp/CefSharp

CefSharp lets you embed Chromium in .NET apps. It is a lightweight .NET wrapper around the Chromium Embedded Framework (CEF) by Marshall A. Greenblatt. About 30% of the bindings are written in C++/CLI with the majority of code here is C#. It can be used from C# or VB, or any other CLR language. CefSharp provides both WPF and WinForms web browser control implementations.

Mark
  • 1,360
  • 1
  • 8
  • 14
4

take a look at GeckoFx https://bitbucket.org/geckofx/. I was using it about 2 year ago and it was pretty easy to use. It's free and not "dead", meaning it is being keeped up to date.

VDN
  • 717
  • 4
  • 12
0

SharpBrowser based on cefsharp . accidentally found it while browsing the cefsharp repos

http://github.com/sharpbrowser/SharpBrowser

bh_earth0
  • 2,537
  • 22
  • 24
-1

DotNetBrowser can satisfy your needs.

This library provides Chromium-based WPF and WinForms components that can be embedded into your .NET application. The component supports HTML5, CSS, JavaScript, DOM access, DOM events and even calling JavaScript from C# and vice versa.

DotNetBrowser API also provides basic browser functions like loading URLs and HTML, reloading page, navigating back and forward, working with cookies, etc. Actually, all its functions are perfectly described in the product's Knowledge Base.

The control is commercial,but there are free academic and open-source licenses.

Anna Dolbina
  • 1
  • 1
  • 8
  • 9
  • 7
    $11,000 for something based on an open-source engine? It had better be a damn good product. I won't be finding out any time soon. – Dan Bechard May 30 '17 at 20:28
  • Well, with an important disclaimer, that I belong to the team, which created DotNetBrowser, I’ll have to admit, that yes, it is darn good :) Please check out the free trial to make sure of it yourself. Also please note: one Per Developer licence costs about [10 times less](https://www.teamdev.com/dotnetbrowser#licensing-pricing), than what you mentioned. I suggest moving further terms-of-purchase related discussions to dedicated channels to respect SO’s rules and keep current discussion strictly to the main topic. – Anna Dolbina Jun 08 '17 at 13:53