SecurityPermission
Describes a set of security permissions applied to code. This class cannot be inherited.
Gets or sets the security permission flags.
Initializes a new instance of the SecurityPermission class with either restricted or unrestricted permission as specified.
Initializes a new instance of the SecurityPermission class with the specified initial set state of the flags.
Returns a value indicating whether the current permission is unrestricted.