Click or drag to resize

IRequestContextRegisterSchemeHandlerFactory Method

Version 130.1.90
Register a scheme handler factory for the specified schemeName and optional domainName. An empty domainName value for a standard scheme will cause the factory to match all domain names. The domainName value will be ignored for non-standard schemes. If schemeName is a built-in scheme and no handler is returned by factory then the built-in scheme handler factory will be called. If schemeName is a custom scheme then you must also implement the CefApp::OnRegisterCustomSchemes() method in all processes. This function may be called multiple times to change or remove the factory that matches the specified schemeName and optional domainName.

Namespace: CefSharp
Assembly: CefSharp (in CefSharp.dll) Version: 129.0.110.0 (129.0.110.0)
Syntax
bool RegisterSchemeHandlerFactory(
	string schemeName,
	string domainName,
	ISchemeHandlerFactory factory
)

Parameters

schemeName  String
Scheme Name
domainName  String
Optional domain name
factory  ISchemeHandlerFactory
Scheme handler factory

Return Value

Boolean
Returns false if an error occurs.
See Also