Property OpenExternalAppHandler
- Namespace
- DotNetBrowser.Browser.Dialogs
- Assembly
- DotNetBrowser.dll
OpenExternalAppHandler
Gets or sets a handler that is used when the currently loaded web page wants to open a link in the associated external application.
IHandler<OpenExternalAppParameters, OpenExternalAppResponse> OpenExternalAppHandler { get; set; }
Property Value
Remarks
You can display your own dialog with the localized message that you can get from the parameters.
Use the Open() method to tell the browser that the link should be opened in the associated external application. If the application is not running, the operating system should launch the application and open the link in it.
If the handler throws an exception, the Cancel() method will be invoked.
Exceptions
- ObjectDisposedException
The IBrowser has already been disposed.
- ConnectionClosedException
The connection to the Chromium engine is closed.