Export (0) Print
Expand All

MediaPermission Class

The MediaPermission describes a set of security permissions that controls the ability for audio, image, and video media to work in a partial-trust Windows Presentation Foundation (WPF) application.

Namespace: System.Security.Permissions
Assembly: WindowsBase (in windowsbase.dll)

[SerializableAttribute] 
public sealed class MediaPermission : CodeAccessPermission, IUnrestrictedPermission
/** @attribute SerializableAttribute() */ 
public final class MediaPermission extends CodeAccessPermission implements IUnrestrictedPermission
SerializableAttribute 
public final class MediaPermission extends CodeAccessPermission implements IUnrestrictedPermission
<MediaPermission .../>

This permission uses the values of the MediaPermissionAudio, MediaPermissionImage, and MediaPermissionVideo enumerations.

System.Object
   System.Security.CodeAccessPermission
    System.Security.Permissions.MediaPermission

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2014 Microsoft