MediaPermissionImage Enumeration
.NET Framework (current version)
Specifies the permission level for images.
Assembly: WindowsBase (in WindowsBase.dll)
| Member name | Description | |
|---|---|---|
| AllImage | Permission that allows unrestricted image display. | |
| NoImage | Permission that denies all images to be displayed. | |
| SafeImage | Permission that allows safe, limited image display, which includes denying stream access to the image file. | |
| SiteOfOriginImage | Permission that only allows display of images that are located at the application's site of origin. |
Use this enumeration to set the Image property of the MediaPermission class. The default is SafeImage.
.NET Framework
Available since 3.0
Available since 3.0
Show: