Click or drag to resize

ISchemeRegistrarAddCustomScheme Method

Version 87.1.132
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: 87.1.132.0 (87.1.132.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