Windows Dev Center

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.Image Property

Gets the current value of the image permission level.

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

public MediaPermissionImage Image { get; }

Property Value

Type: System.Security.Permissions.MediaPermissionImage
The image permission level.

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

MediaPermissionImage mediaPermissionImage = mediaPermission.Image;

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft