39 references to MediaPermissionImage
PresentationCore (15)
Core\CSharp\System\Windows\Media\Imaging\BitmapDecoder.cs (5)
1130MediaPermissionImage.AllImage); 1137MediaPermissionImage.SafeImage); 1183MediaPermissionImage.SiteOfOriginImage) ; 1414MediaPermissionImage.SafeImage)) 1458MediaPermissionImage.SafeImage))
Core\CSharp\System\Windows\Media\Imaging\BitmapDownload.cs (1)
225MediaPermissionImage.SafeImage))
Core\CSharp\System\Windows\Media\MediaPlayerState.cs (4)
920SecurityHelper.CallerHasMediaPermission(MediaPermissionAudio.AllAudio, MediaPermissionVideo.AllVideo, MediaPermissionImage.NoImage), 1038MediaPermissionImage.NoImage); 1097MediaPermissionImage.NoImage)) 1114MediaPermissionImage.NoImage))
Shared\MS\Internal\SecurityHelper.cs (5)
1028MediaPermissionImage imagePermissionToDemand) 1052MediaPermissionImage imagePermissionToDemand) 1270MediaPermissionImage.AllImage); 1284MediaPermissionImage.AllImage); 1294MediaPermissionImage.AllImage);
PresentationFramework (2)
src\Framework\System\Windows\Interop\DocobjHost.cs (2)
955permissionSet.AddPermission(new MediaPermission(MediaPermissionImage.SafeImage)); 990permissionSet.AddPermission(new MediaPermission(MediaPermissionAudio.SafeAudio, MediaPermissionVideo.SafeVideo, MediaPermissionImage.SafeImage));
WindowsBase (22)
Base\System\Security\Permissions\MediaPermission.cs (22)
148_mediaPermissionImage = MediaPermissionImage.AllImage; 154_mediaPermissionImage = MediaPermissionImage.NoImage; 187public MediaPermission(MediaPermissionImage permissionImage ) 200MediaPermissionImage permissionImage ) 233MediaPermissionImage.AllImage ) ; 250MediaPermissionImage.NoImage ) ; 289MediaPermissionImage imageIntersectLevel = _mediaPermissionImage < operand._mediaPermissionImage 294( imageIntersectLevel == MediaPermissionImage.NoImage ) ) 333MediaPermissionImage imageUnionLevel = _mediaPermissionImage > operand._mediaPermissionImage 338( imageUnionLevel == MediaPermissionImage.NoImage ) ) 410_mediaPermissionImage = MediaPermissionImage.AllImage; 442_mediaPermissionImage = (MediaPermissionImage)Enum.Parse(typeof(MediaPermissionImage), image ); 487public MediaPermissionImage Image 521internal static void VerifyMediaPermissionImage(MediaPermissionImage level) 523if (level < MediaPermissionImage.NoImage || level > MediaPermissionImage.AllImage ) 544_mediaPermissionImage = MediaPermissionImage.SafeImage; 552MediaPermissionImage imageLevel ) 568private MediaPermissionImage _mediaPermissionImage ; 672public MediaPermissionImage Image 694private MediaPermissionImage _mediaPermissionImage ;