13 references to WebPermission
PresentationCore (8)
Core\CSharp\System\Windows\Media\Imaging\BitmapDecoder.cs (2)
1381
(new
WebPermission
(NetworkAccess.Connect, BindUriHelper.UriToString(uri))).Assert(); // BlessedAssert
1421
(new
WebPermission
(NetworkAccess.Connect, BindUriHelper.UriToString(uri))).Assert(); // BlessedAssert
Core\CSharp\System\Windows\Media\Imaging\BitmapDownload.cs (1)
234
(new
WebPermission
(NetworkAccess.Connect, BindUriHelper.UriToString(uri))).Assert(); // BlessedAssert
Core\CSharp\System\Windows\Media\MediaPlayerState.cs (3)
990
new
WebPermission
(NetworkAccess.Connect, BindUriHelper.UriToString(uriToOpen)).Assert();
1117
(new
WebPermission
(NetworkAccess.Connect, toOpen)).Demand();
1122
(new
WebPermission
(NetworkAccess.Connect, toOpen)).Demand();
Shared\MS\Internal\SecurityHelper.cs (2)
456
(new
WebPermission
(NetworkAccess.Connect, BindUriHelper.UriToString(uri))).Demand();
1346
new
WebPermission
(NetworkAccess.Connect, finalUri).Demand();
System (2)
net\System\Net\HttpListener.cs (1)
631
(new
WebPermission
(NetworkAccess.Accept, uriPrefix)).Demand();
sys\system\Media\SoundPlayer.cs (1)
316
WebPermission webPerm = new
WebPermission
(NetworkAccess.Connect, uri.AbsolutePath);
System.Web (1)
HttpRuntime.cs (1)
2593
askedPermission = new
WebPermission
(NetworkAccess.Connect, uri.ToString());
System.Windows.Forms (2)
winforms\Managed\System\WinForms\Help.cs (1)
291
new
WebPermission
(NetworkAccess.Connect, url).Demand();
winforms\Managed\System\WinForms\WebBrowser.cs (1)
1527
WebPermission permission = new
WebPermission
(NetworkAccess.Connect, url.AbsoluteUri);