UIPermission
Controls the permissions related to user interfaces and the Clipboard. This class cannot be inherited.
Gets or sets the Clipboard access represented by the permission.
Gets or sets the window access represented by the permission.
Initializes a new instance of the UIPermission class with either fully restricted or unrestricted access, as specified.
Initializes a new instance of the UIPermission class with the permissions for the Clipboard, and no access to windows.
Initializes a new instance of the UIPermission class with the permissions for windows, and no access to the Clipboard.
Initializes a new instance of the UIPermission class with the specified permissions for windows and the Clipboard.
Returns a value indicating whether the current permission is unrestricted.