Click or drag to resize

ISchemeRegistrarAddCustomScheme Method

Version 112.3.0
Register a custom scheme. This method should not be called for the built-in HTTP, HTTPS, FILE, FTP, ABOUT and DATA schemes. See SchemeOptions for possible values for schemeOptions This function may be called on any thread. It should only be called once per unique schemeName value.

Namespace:  CefSharp
Assembly:  CefSharp (in CefSharp.dll) Version: 112.3.0.0 (112.3.0.0)
Syntax
bool AddCustomScheme(
	string schemeName,
	SchemeOptions schemeOptions
)

Parameters

schemeName
Type: SystemString
scheme name
schemeOptions
Type: CefSharp.EnumsSchemeOptions
scheme options

Return Value

Type: Boolean
If schemeName is already registered or if an error occurs this method will return false.
See Also