Controls the permissions related to user interfaces and the Clipboard. This class cannot be inherited.
See Also: UIPermission Members
Drawing and user input events in windows are user interfaces.
The permission to use windows can be one of the following: unrestricted, limited to UIPermissionWindow.SafeTopLevelWindows, only UIPermissionWindow.SafeSubWindows, or no window drawing or user input event access allowed. UIPermissionWindow.SafeTopLevelWindows and UIPermissionWindow.SafeSubWindows are restricted in title and size to prevent possible spoofing by potentially harmful code.
The permission to use the Clipboard can be one of the following: unrestricted, write-only, or no Clipboard access allowed. The paste limitation prevents potentially harmful applications from taking data from the Clipboard without the user's consent, while still allowing the cut, copy, and paste operations when initiated by the user through keyboard commands.