MediaPermission
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.
Gets the current value of the audio permission level.
Gets the current value of the image permission level.
Gets the current value of the video permission level.
public MediaPermission()
Initializes a new instance of the MediaPermission class.
Initializes a new instance of the MediaPermission class by specifying a permission state.
Initializes a new instance of the MediaPermission class by specifying the audio permission level.
Initializes a new instance of the MediaPermission class by specifying the video permission level.
Initializes a new instance of the MediaPermission class by specifying the image permission level.
public MediaPermission(MediaPermissionAudio permissionAudio, MediaPermissionVideo permissionVideo, MediaPermissionImage permissionImage)
Initializes a new instance of the MediaPermission class by specifying the audio, video, and image permission levels.
Returns a value indicating whether the current permission is unrestricted.