MediaPermission.Audio Property


Gets the current value of the audio permission level.

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

public MediaPermissionAudio Audio { get; }

Property Value

Type: System.Security.Permissions.MediaPermissionAudio

The audio permission level.

The following code example shows how to retrieve the MediaPermissionAudio value for the MediaPermission.

MediaPermissionAudio mediaPermissionAudio = mediaPermission.Audio;

.NET Framework
Available since 3.0
Return to top