Gets or sets an object that can be accessed by scripting code that is contained within a Web page displayed in the System.Windows.Forms.WebBrowser control.
Documentation for this section has not yet been entered.
Use this property to enable communication between a Web page hosted by the System.Windows.Forms.WebBrowser control and the application that contains the System.Windows.Forms.WebBrowser control. This property lets you integrate dynamic HTML (DHTML) code with your client application code. The object specified for this property is available to Web page script as the window.external object, which is a built-in DOM object provided for host access.
You can set this property to any COM-visible object for which you want its public properties and methods available to scripting code. You can make a class COM-visible by marking it with the System.Runtime.InteropServices.ComVisibleAttribute.
To call functions defined in your Web page from your client application code, use the HtmlDocument.InvokeScript(string, Object[]) method of the System.Windows.Forms.HtmlDocument object you can retrieve from the WebBrowser.Document property.