What is "webbrowser"

Webbrowser control provides managed content for controlling Webbrowser Activex. Managed content allows you to display web pages in your Windows Forms. You can use Webbrowser’s control to duplicate Internet Explorer’s web browsing functionality in your application or you can disable the standard functionality of Internet Explorer and use the control as a simple HTML document viewer.

You can also use the control to add elements from user interface based on DHTML in their form and hide the fact that they are staying in control of Webbrowser. This approach allows you to seamlessly combine web controls with Windows Forms in a single application.

Frequently used properties, methods and events

The Webbrowser control has several properties, methods and events that you can use to implement controls found in Internet Explorer. For example, you can use the method Navigate to implement an address bar and methods GoBack, GoForward, Stop and Refresh to implement navigation buttons in a toolbar. You can manipulate the event Navigated to update the address bar with the URL property value and title bar with the property value DocumentTitle.

If you want to generate your own page content in your application, you can set the property DocumentText. If you are familiar with the Document Object Model (DOM) of HTML, you can also manipulate the content of the current web page through the property Document. With this property, you can store and modify documents in memory instead of browsing between files.

The estate Document also allows calling the methods implemented in the page script from the code of your application. To access your application code from your script, set the property ObjectForScripting. The object you specify can be accessed by your script as an object window.external.

Source and documentation: