MediaPermissionVideo Enumeration

 

Specifies the permission level for video.

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

type MediaPermissionVideo

Member nameDescription
AllVideo

Permission that allows unrestricted video playback.

NoVideo

Permission that denies all video playback.

SafeVideo

Permission that allows safe, limited video playback, which includes denying stream access to the image file.

SiteOfOriginVideo

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.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show: