Click or drag to resize
IRequestHandlerOnProtocolExecution Method
Version 63.0.0
Called on the UI thread to handle requests for URLs with an unknown protocol component. SECURITY WARNING: YOU SHOULD USE THIS METHOD TO ENFORCE RESTRICTIONS BASED ON SCHEME, HOST OR OTHER URL ANALYSIS BEFORE ALLOWING OS EXECUTION.

Namespace: CefSharp
Assembly: CefSharp (in CefSharp.dll) Version: 63.0.0.0 (63.0.0.0)
Syntax
bool OnProtocolExecution(
	IWebBrowser browserControl,
	IBrowser browser,
	string url
)

Parameters

browserControl
Type: CefSharpIWebBrowser
The ChromiumWebBrowser control
browser
Type: CefSharpIBrowser
the browser object
url
Type: SystemString
the request url

Return Value

Type: Boolean
return to true to attempt execution via the registered OS protocol handler, if any. Otherwise return false.
See Also