Windows apps
Collapse the table of content
Expand the table of content
Information
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.

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
Show:
© 2017 Microsoft