Click or drag to resize

RequestContextRegisterSchemeHandlerFactory Method

Version 86.0.240
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 IApp.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.Core (in CefSharp.Core.dll) Version: 86.0.240.0
Syntax
public virtual bool RegisterSchemeHandlerFactory(
	string schemeName,
	string domainName,
	ISchemeHandlerFactory factory
)

Parameters

schemeName
Type: SystemString
Scheme Name
domainName
Type: SystemString
Optional domain name
factory
Type: CefSharpISchemeHandlerFactory
Scheme handler factory

Return Value

Type: Boolean
Returns false if an error occurs.

Implements

IRequestContextRegisterSchemeHandlerFactory(String, String, ISchemeHandlerFactory)
See Also