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.
MediaPermissionAudio Enumeration
.NET Framework (current version)
Specifies the permission level for audio.
Assembly: WindowsBase (in WindowsBase.dll)
| Member name | Description | |
|---|---|---|
| AllAudio | Permission that allows unrestricted audio playback. | |
| NoAudio | Permission that denies all audio playback. | |
| SafeAudio | Permission that allows safe, limited audio playback, which includes denying stream access to the image file. | |
| SiteOfOriginAudio | Permission that only allows audio playback of files that are located at the application's site of origin. |
Use this enumeration to set the MediaPermissionAudio property of the MediaPermission class. The default is SafeAudio.
.NET Framework
Available since 3.0
Available since 3.0
Show: