IBrowserHostCloseBrowser Method  | 
Version 106.0.290 
            Request that the browser close. The JavaScript 'onbeforeunload' event will be fired.
            
 
    Namespace: 
   CefSharp
    Assembly:
   CefSharp (in CefSharp.dll) Version: 106.0.290.0 (106.0.290.0)
Syntaxvoid CloseBrowser(
	bool forceClose
)
void CloseBrowser(
	bool forceClose
)
Parameters
- forceClose
 - Type: SystemBoolean
            If forceClose is false the event handler, if any, will be allowed to prompt the user and the
            user can optionally cancel the close. If forceClose is true the prompt will not be displayed
            and the close will proceed. Results in a call to DoClose(IWebBrowser, IBrowser) if
            the event handler allows the close or if forceClose is true
            See DoClose(IWebBrowser, IBrowser) documentation for additional usage information.
             
See Also