Click or drag to resize

ISchemeRegistrarAddCustomScheme Method

Version 94.4.20
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: 94.4.20.0 (94.4.20.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