The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
.NET Framework (current version)
Specifies the permission level for video.
WindowsBase (in WindowsBase.dll)
public enum MediaPermissionVideo
Permission that allows unrestricted video playback.
Permission that denies all video playback.
Permission that allows safe, limited video playback, which includes denying stream access to the image file.
Permission that only allows video playback of files that are located at the application's site of origin.
Use this enumeration to set the Video property of the MediaPermission class. The default is SafeVideo.
The following code example shows the use of the Video property.
[MediaPermissionAttribute(SecurityAction.Demand, Video = MediaPermissionVideo.NoVideo)]
Return to top
Available since 3.0