24 references to WebBrowserPermissionLevel
PresentationFramework (3)
src\Framework\System\Windows\Controls\WebBrowser.cs (1)
175
(new WebBrowserPermission(
WebBrowserPermissionLevel
.Safe)).Demand();
src\Framework\System\Windows\Interop\BrowserInteropHelper.cs (1)
399
(new WebBrowserPermission(
WebBrowserPermissionLevel
.Safe)).Demand();
src\Framework\System\Windows\Interop\DocobjHost.cs (1)
991
permissionSet.AddPermission(new WebBrowserPermission(
WebBrowserPermissionLevel
.Safe));
WindowsBase (21)
Base\System\Security\Permissions\WebBrowserPermission.cs (21)
77
_webBrowserPermissionLevel =
WebBrowserPermissionLevel
.Safe;
87
_webBrowserPermissionLevel =
WebBrowserPermissionLevel
.Unrestricted;
91
_webBrowserPermissionLevel =
WebBrowserPermissionLevel
.None;
102
public WebBrowserPermission(
WebBrowserPermissionLevel
webBrowserPermissionLevel)
128
return _webBrowserPermissionLevel ==
WebBrowserPermissionLevel
.Unrestricted ;
143
return _webBrowserPermissionLevel ==
WebBrowserPermissionLevel
.None;
170
WebBrowserPermissionLevel
intersectLevel = _webBrowserPermissionLevel < operand._webBrowserPermissionLevel
173
if (intersectLevel ==
WebBrowserPermissionLevel
.None)
201
WebBrowserPermissionLevel
unionLevel = _webBrowserPermissionLevel > operand._webBrowserPermissionLevel ?
205
if (unionLevel ==
WebBrowserPermissionLevel
.None)
270
_webBrowserPermissionLevel =
WebBrowserPermissionLevel
.Unrestricted;
274
this._webBrowserPermissionLevel =
WebBrowserPermissionLevel
.None;
280
_webBrowserPermissionLevel = (
WebBrowserPermissionLevel
)Enum.Parse(typeof(
WebBrowserPermissionLevel
), level);
304
public
WebBrowserPermissionLevel
Level
328
internal static void VerifyWebBrowserPermissionLevel(
WebBrowserPermissionLevel
level)
330
if (level <
WebBrowserPermissionLevel
.None || level >
WebBrowserPermissionLevel
.Unrestricted )
343
private
WebBrowserPermissionLevel
_webBrowserPermissionLevel;
411
public
WebBrowserPermissionLevel
Level
432
private
WebBrowserPermissionLevel
_webBrowserPermissionLevel;