Click or drag to resize

CefCustomSchemeIsLocal Property

Version 103.0.120
If true the scheme will be treated as local (i.e. with the same security rules as those applied to "file" URLs). Normal pages cannot link to or access local URLs. Also, by default, local URLs can only perform XMLHttpRequest calls to the same URL (origin + path) that originated the request. To allow XMLHttpRequest calls from a local URL to other URLs with the same origin set the CefSettings.file_access_from_file_urls_allowed value to true. To allow XMLHttpRequest calls from a local URL to all origins set the CefSettings.universal_access_from_file_urls_allowed value to true.

Namespace:  CefSharp
Assembly:  CefSharp (in CefSharp.dll) Version: 103.0.120.0 (103.0.120.0)
Syntax
public bool IsLocal { get; set; }

Property Value

Type: Boolean
See Also