System.Security.Permissions.UIPermissionWindow.SafeTopLevelWindows Field

Users can only use UIPermissionWindow.SafeTopLevelWindows and UIPermissionWindow.SafeSubWindows for drawing, and can only use user input events for the user interface within those top-level windows and subwindows.

Syntax

UIPermissionWindow SafeTopLevelWindows

Remarks

When it runs under UIPermissionWindow.SafeTopLevelWindows permission, your application:

These restrictions help prevent potentially harmful code from spoofing attacks, such as imitating trusted system dialogs.

Requirements

Namespace: System.Security.Permissions
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0