Allows a permission to expose an unrestricted state.
Assembly: mscorlib (in mscorlib.dll)
Thetype exposes the following members.
This example shows how to define a permission class for use with code access security. All of the necessary permission interfaces are implemented.
The following code example demonstrates the behavior of the methods.
The example is intended to show how the methods perform if you execute the methods from your code. In general, the methods of permission classes are used by the security infrastructure; they are not typically used in applications.
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.