10 references to MediaPermission
PresentationCore (5)
Shared\MS\Internal\SecurityHelper.cs (5)
1031
(new
MediaPermission
(audioPermissionToDemand,
1056
(new
MediaPermission
(audioPermissionToDemand,videoPermissionToDemand,imagePermissionToDemand)).Demand();
1268
codeAccessPermission = new
MediaPermission
(MediaPermissionAudio.NoAudio,
1282
codeAccessPermission = new
MediaPermission
(MediaPermissionAudio.NoAudio,
1292
codeAccessPermission = new
MediaPermission
(MediaPermissionAudio.NoAudio,
PresentationFramework (1)
src\Framework\System\Windows\Interop\DocobjHost.cs (1)
990
permissionSet.AddPermission(new
MediaPermission
(MediaPermissionAudio.SafeAudio, MediaPermissionVideo.SafeVideo, MediaPermissionImage.SafeImage));
WindowsBase (4)
Base\System\Security\Permissions\MediaPermission.cs (4)
301
return new
MediaPermission
( audioIntersectLevel, videoIntersectLevel, imageIntersectLevel ) ;
344
return new
MediaPermission
( audioUnionLevel, videoUnionLevel, imageUnionLevel ) ;
358
return new
MediaPermission
(
619
return new
MediaPermission
( _mediaPermissionAudio,