MediaPermission::IsUnrestricted Method ()
.NET Framework (current version)
Returns a value indicating whether the current permission is unrestricted.
Assembly: WindowsBase (in WindowsBase.dll)
Return Value
Type: System::Booleantrue if the audio, image, and video permissions are all unrestricted; otherwise, false.
The following code example shows how to determine whether the MediaPermission is unrestricted.
.NET Framework
Available since 3.0
Available since 3.0
Show: