Table of Contents

Enum WebBrowserHostResourceAccessKind

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Kind of cross origin resource access allowed for host resources during download in the WebBrowser control.

public enum WebBrowserHostResourceAccessKind

Fields

Allow = 1

All cross origin resource access is allowed, including accesses that are subject to Cross-Origin Resource Sharing(CORS) check. The behavior is similar to a web site sends back http header Access-Control-Allow-Origin: *.

Deny = 0

All cross origin resource access is denied, including normal sub resource access as src of a script or image element.

DenyCors = 2

Cross origin resource access is allowed for normal sub resource access like as src of a script or image element, while any access that subjects to CORS check will be denied. See Cross-Origin Resource Sharing for more information.