IUnrestrictedPermission Interface

Definition

Allows a permission to expose an unrestricted state.

public interface class IUnrestrictedPermission
public interface IUnrestrictedPermission
[System.Runtime.InteropServices.ComVisible(true)]
public interface IUnrestrictedPermission
type IUnrestrictedPermission = interface
[<System.Runtime.InteropServices.ComVisible(true)>]
type IUnrestrictedPermission = interface
Public Interface IUnrestrictedPermission
Derived
Attributes

Remarks

Caution

Code Access Security (CAS) has been deprecated across all versions of .NET Framework and .NET. Recent versions of .NET do not honor CAS annotations and produce errors if CAS-related APIs are used. Developers should seek alternative means of accomplishing security tasks.

All code access permissions should implement IUnrestrictedPermission.

Methods

Name Description
IsUnrestricted()

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

Applies to