IUnrestrictedPermission Interface


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Allows a permission to expose an unrestricted state.

Namespace:   System.Security.Permissions
Assembly:  mscorlib (in mscorlib.dll)

type IUnrestrictedPermission = interface end


Returns a value indicating whether unrestricted access to the resource protected by the permission is allowed.

All code access permissions should implement IUnrestrictedPermission.

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 IUnrestrictedPermission 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.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top