Click or drag to resize

IDialogsOpenExternalAppHandler Property

Gets or sets a handler that is used when the currently loaded web page wants to open a link in the associated external application.

Namespace:  DotNetBrowser.Browser.Dialogs
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.23.2
Syntax
C#
IHandler<OpenExternalAppParameters, OpenExternalAppResponse> OpenExternalAppHandler { get; set; }

Property Value

Type: IHandlerOpenExternalAppParameters, OpenExternalAppResponse
Exceptions
ExceptionCondition
ObjectDisposedExceptionThe IBrowser has already been disposed.
ConnectionClosedExceptionThe connection to the Chromium engine is closed.
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.

See Also