CefCustomSchemeIsLocal Property |
Version 84.4.10
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: 84.4.10.0 (84.4.10.0)
Syntax public bool IsLocal { get; set; }
public:
property bool IsLocal {
bool get ();
void set (bool value);
}
Property Value
Type:
BooleanSee Also