System.Security.Permissions.PermissionSetAttribute Members

The members of System.Security.Permissions.PermissionSetAttribute are listed below.

See Also: Inherited members from System.Security.Permissions.CodeAccessSecurityAttribute

Public Constructors

Initializes a new instance of the System.Security.Permissions.PermissionSetAttribute class with the specified security action.

Public Properties


Gets or sets a file containing the XML representation of a custom permission set to be declared.


Gets or sets the hexadecimal representation of the XML encoded permission set.


Gets or sets the name of the permission set.


Gets or sets a value indicating whether the file specified by PermissionSetAttribute.File is Unicode or ASCII encoded.


Gets or sets the XML representation of a permission set.

Public Methods

CreatePermission() : System.Security.IPermission

This method is not used.

CreatePermissionSet() : System.Security.PermissionSet

Creates and returns a new permission set based on this permission set attribute object.