.Security.Principal.IPrincipal" /> object's user.
The role of the object's user (for example, Administrator).
Initializes a new instance of the class for the specified , , and authentication status.
The name of the object's user.
The role of the object's user (for example, Administrator).
true to signify that the user is authenticated; otherwise, false.
Creates and returns an identical copy of the current permission.
A copy of the current permission.
Determines at run time whether the current principal matches the principal specified by the current permission.
The current principal does not pass the security check for the principal specified by the current permission.-or- The current is null.
Determines whether the specified object is equal to the current .
true if the specified is equal to the current object; otherwise, false.
The object to compare with the current .
Reconstructs a permission with a specified state from an XML encoding.
The XML encoding to use to reconstruct the permission.
The parameter is null.
The parameter is not a valid permission element.-or- The parameter's version number is not valid.
Gets a hash code for the object that is suitable for use in hashing algorithms and data structures such as a hash table.
A hash code for the current object.
Creates and returns a permission that is the intersection of the current permission and the specified permission.
A new permission that represents the intersection of the current permission and the specified permission. This new permission will be null if the intersection is empty.
A permission to intersect with the current permission. It must be of the same type as the current permission.
The parameter is not null and is not an instance of the same class as the current permission.
Determines whether the current permission is a subset of the specified permission.
true if the current permission is a subset of the specified permission; otherwise, false.
A permission that is to be tested for the subset relationship. This permission must be of the same type as the current permission.
The parameter is an object that is not of the same type as the current permission.
Returns a value indicating whether the current permission is unrestricted.
true if the current permission is unrestricted; otherwise, false.
Creates and returns a string representing the current permission.
A representation of the current permission.
Creates an XML encoding of the permission and its current state.
An XML encoding of the permission, including any state information.
Creates a permission that is the union of the current permission and the specified permission.
A new permission that represents the union of the current permission and the specified permission.
A permission to combine with the current permission. It must be of the same type as the current permission.
The parameter is an object that is not of the same type as the current permission.
Allows security actions for to be applied to code using declarative security. This class cannot be inherited.
Initializes a new instance of the class with the specified .
One of the values.
Gets or sets a value indicating whether the current principal has been authenticated by the underlying role-based security provider.
true if the current principal has been authenticated; otherwise, false.
Creates and returns a new .
A that corresponds to this attribute.
Gets or sets the name of the identity associated with the current principal.
A name to match against that provided by the underlying role-based security provider.
Gets or sets membership in a specified security role.
The name of a role from the underlying role-based security provider.
Represents the identity of a software publisher. This class cannot be inherited.
Initializes a new instance of the class with the specified Authenticode X.509v3 certificate.
An X.509 certificate representing the software publisher's identity.
The parameter is null.
The parameter is not a valid certificate.
Initializes a new instance of the class with the specified .
One of the values.
The parameter is not a valid value of .
Gets or sets an Authenticode X.509v3 certificate that represents the identity of the software publisher.
An X.509 certificate representing the identity of the software publisher.
The is null.
The is not a valid certificate.
The property cannot be set because the identity is ambiguous.
Creates and returns an identical copy of the current permission.
A copy of the current permission.
Reconstructs a permission with a specified state from an XML encoding.
The XML encoding to use to reconstruct the permission.
The parameter is null.
The parameter is not a valid permission element.-or- The parameter's version number is not valid.
Creates and returns a permission that is the intersection of the current permission and the specified permission.
A new permission that represents the intersection of the current permission and the specified permission. This new permission is null if the intersection is empty.
A permission to intersect with the current permission. It must be of the same type as the current permission.
The parameter is not null and is not of the same type as the current permission.
Determines whether the current permission is a subset of the specified permission.
true if the current permission is a subset of the specified permission; otherwise, false.
A permission that is to be tested for the subset relationship. This permission must be of the same type as the current permission.
The parameter is not null and is not of the same type as the current permission.
Creates an XML encoding of the permission and its current state.
An XML encoding of the permission, including any state information.
Creates a permission that is the union of the current permission and the specified permission.
A new permission that represents the union of the current permission and the specified permission.
A permission to combine with the current permission. It must be of the same type as the current permission.
The parameter is not null and is not of the same type as the current permission. -or-The two permissions are not equal.
Allows security actions for to be applied to code using declarative security. This class cannot be inherited.
Initializes a new instance of the class with the specified .
One of the values.
Gets or sets a certification file containing an Authenticode X.509v3 certificate.
The file path of an X.509 certificate file (usually has the extension.cer).
Creates and returns a new instance of .
A that corresponds to this attribute.
Gets or sets a signed file from which to extract an Authenticode X.509v3 certificate.
The file path of a file signed with the Authenticode signature.
Gets or sets an Authenticode X.509v3 certificate that identifies the publisher of the calling code.
A hexadecimal representation of the X.509 certificate.
Controls access to non-public types and members through the APIs. Controls some features of the APIs.
Initializes a new instance of the class with either fully restricted or unrestricted permission as specified.
One of the values.
The parameter is not a valid value of .
Initializes a new instance of the class with the specified access.
One of the values.
The parameter is not a valid value of .
Creates and returns an identical copy of the current permission.
A copy of the current permission.
Gets or sets the type of reflection allowed for the current permission.
The set flags for the current permission.
An attempt is made to set this property to an invalid value. See for the valid values.
Reconstructs a permission with a specified state from an XML encoding.
The XML encoding to use to reconstruct the permission.
The parameter is null.
The parameter is not a valid permission element.-or- The parameter's version number is not valid.
Creates and returns a permission that is the intersection of the current permission and the specified permission.
A new permission that represents the intersection of the current permission and the specified permission. This new permission is null if the intersection is empty.
A permission to intersect with the current permission. It must be of the same type as the current permission.
The parameter is not null and is not of the same type as the current permission.
Determines whether the current permission is a subset of the specified permission.
true if the current permission is a subset of the specified permission; otherwise, false.
A permission that is to be tested for the subset relationship. This permission must be of the same type as the current permission.
The parameter is not null and is not of the same type as the current permission.
Returns a value indicating whether the current permission is unrestricted.
true if the current permission is unrestricted; otherwise, false.
Creates an XML encoding of the permission and its current state.
An XML encoding of the permission, including any state information.
Creates a permission that is the union of the current permission and the specified permission.
A new permission that represents the union of the current permission and the specified permission.
A permission to combine with the current permission. It must be of the same type as the current permission.
The parameter is not null and is not of the same type as the current permission.
Allows security actions for to be applied to code using declarative security.
Initializes a new instance of the class with the specified .
One of the values.
Creates and returns a new .
A that corresponds to this attribute.
Gets or sets the current allowed uses of reflection.
One or more of the values combined using a bitwise OR.
An attempt is made to set this property to an invalid value. See for the valid values.
Gets or sets a value that indicates whether invocation of operations on non-public members is allowed.
true if invocation of operations on non-public members is allowed; otherwise, false.
Gets or sets a value that indicates whether use of certain features in , such as emitting debug symbols, is allowed.
true if use of the affected features is allowed; otherwise, false.
Gets or sets a value that indicates whether restricted invocation of non-public members is allowed. Restricted invocation means that the grant set of the assembly that contains the non-public member that is being invoked must be equal to, or a subset of, the grant set of the invoking assembly.
true if restricted invocation of non-public members is allowed; otherwise, false.
Gets or sets a value that indicates whether reflection on members that are not visible is allowed.
true if reflection on members that are not visible is allowed; otherwise, false.
Specifies the permitted use of the and namespaces.
TypeInformation, MemberAccess, and ReflectionEmit are set. does not include .
Invocation operations on all members are allowed, regardless of grant set. If this flag is not set, invocation operations are allowed only on visible members.
Enumeration of types and members is allowed. Invocation operations are allowed on visible types and members.
Emitting debug symbols is allowed. Beginning with the .NET Framework 2.0 Service Pack 1, this flag is no longer required to emit code.
Restricted member access is provided for partially trusted code. Partially trusted code can access nonpublic types and members, but only if the grant set of the partially trusted code includes all permissions in the grant set of the assembly that contains the nonpublic types and members being accessed. This flag is new in the .NET Framework 2.0 SP1.
This flag is obsolete. No flags are necessary to enumerate types and members and to examine their metadata. Use instead.
Controls the ability to access registry variables. This class cannot be inherited.
Initializes a new instance of the class with either fully restricted or unrestricted permission as specified.
One of the values.
The parameter is not a valid value of .
Initializes a new instance of the class with the specified access to the specified registry variables and the specified access rights to registry control information.
One of the values.
A bitwise combination of the values.
A list of registry variables (semicolon-separated) to which access is granted.
The parameter is not a valid value of .-or- The parameter is not a valid string.
Initializes a new instance of the class with the specified access to the specified registry variables.
One of the values.
A list of registry variables (semicolon-separated) to which access is granted.
The parameter is not a valid value of .-or- The parameter is not a valid string.
Adds access for the specified registry variables to the existing state of the permission, specifying registry permission access and access control actions.
One of the values.
One of the values.
A list of registry variables (separated by semicolons).
The parameter is not a valid value of .-or- The parameter is not a valid string.
Adds access for the specified registry variables to the existing state of the permission.
One of the values.
A list of registry variables (semicolon-separated).
The parameter is not a valid value of .-or- The parameter is not a valid string.
Creates and returns an identical copy of the current permission.
A copy of the current permission.
Reconstructs a permission with a specified state from an XML encoding.
The XML encoding to use to reconstruct the permission.
The parameter is null.
The parameter is not a valid permission element.-or- The parameter's version number is not valid.
Gets paths for all registry variables with the specified .
A list of the registry variables (semicolon-separated) with the specified .
One of the values that represents a single type of registry variable access.
is not a valid value of .-or- is , which represents more than one type of registry variable access, or , which does not represent any type of registry variable access.
Creates and returns a permission that is the intersection of the current permission and the specified permission.
A new permission that represents the intersection of the current permission and the specified permission. This new permission is null if the intersection is empty.
A permission to intersect with the current permission. It must be of the same type as the current permission.
The parameter is not null and is not of the same type as the current permission.
Determines whether the current permission is a subset of the specified permission.
true if the current permission is a subset of the specified permission; otherwise, false.
A permission that is to be tested for the subset relationship. This permission must be of the same type as the current permission.
The parameter is not null and is not of the same type as the current permission.
Returns a value indicating whether the current permission is unrestricted.
true if the current permission is unrestricted; otherwise, false.