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
Available since 3.0
Return to top
Show: