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