93 return CodeAccessPermission.CreatePermissionElement(
this,
"System.Security.Permissions.GacIdentityPermission");
107 int IBuiltInPermission.GetTokenIndex()
109 return GetTokenIndex();
112 internal static int GetTokenIndex()
override bool IsSubsetOf(IPermission target)
Indicates whether the current permission is a subset of the specified permission.
override IPermission Union(IPermission target)
Creates and returns a permission that is the union of the current permission and the specified permis...
Provides information about, and means to manipulate, the current environment and platform....
override IPermission Copy()
Creates and returns an identical copy of the current permission.
override SecurityElement ToXml()
Creates an XML encoding of the permission and its current state.
Represents the XML object model for encoding security objects. This class cannot be inherited.
Defines the underlying structure of all code access permissions.
Defines methods implemented by permission types.
GacIdentityPermission()
Initializes a new instance of the T:System.Security.Permissions.GacIdentityPermission class.
The exception that is thrown when one of the arguments provided to a method is not valid.
override IPermission Intersect(IPermission target)
Creates and returns a permission that is the intersection of the current permission and the specified...
PermissionState
Specifies whether a permission should have all or no access to resources at creation.
GacIdentityPermission(PermissionState state)
Initializes a new instance of the T:System.Security.Permissions.GacIdentityPermission class with full...
Specifies that the class can be serialized.
override void FromXml(SecurityElement securityElement)
Creates a permission from an XML encoding.
Defines the identity permission for files originating in the global assembly cache....