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