System.Security.IPermission: Method Members

The methods of System.Security.IPermission are listed below. For a list of all members, see the IPermission Members list.

Public Methods

Copy() : IPermission

Creates and returns an identical copy of the current permission.

Demand()

Throws a System.Security.SecurityException at run time if the security requirement is not met.

Intersect(IPermission) : IPermission

Creates and returns a permission that is the intersection of the current permission and the specified permission.

IsSubsetOf(IPermission) : bool

Determines whether the current permission is a subset of the specified permission.

Union(IPermission) : IPermission

Creates a permission that is the union of the current permission and the specified permission.