Specifies the type of windows that code is allowed to use.
Assembly: mscorlib (in mscorlib.dll)
|Users cannot use any windows or user interface events. No user interface can be used.|
|Users can only use for drawing, and can only use user input events for user interface within that subwindow. Examples of are a MessageBox, common dialog controls, and a control displayed within a browser.|
|Users can only use and for drawing, and can only use user input events for the user interface within those top-level windows and subwindows. |
When it runs under permission, your application:
These restrictions help prevent potentially harmful code from spoofing attacks, such as imitating trusted system dialogs.
|Users can use all windows and user input events without restriction.|
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.