System.Security.Permissions
Provides the ability to uniquely identify a manifest-activated application. This class cannot be inherited.
Initializes a new instance of the class.
The full name of the application.
is .
Populates a object with the data needed to serialize the target object.
The to populate with data.
The ) structure for the serialization.
Returns the full name of the manifest-activated application.
The full name of the manifest-activated application.
Gets the location of the deployment manifest as a URL.
The URL of the deployment manifest.
Gets the full name of the application.
The full name of the application, also known as the display name.
Provides a permission structure that allows methods or classes to access configuration files.
Initializes a new instance of the class.
The permission level to grant.
The value of is neither nor .
Returns a new object with the same permission level.
A new with the same permission level.
Reads the value of the permission state from XML.
The configuration element from which the permission state is read.
is .
The attribute for the given is neither nor .
-or-
The for the given does not equal "IPermission".
-or-
The attribute of the given is or is not the type name for .
-or-
The attribute for the given does not equal 1.
Returns the logical intersection between the object and a given object that implements the interface.
The object containing the permissions to perform the intersection with.
is not typed as .
The logical intersection between the and a given object that implements .
Compares the object with an object implementing the interface.
The object to compare to.
is not typed as .
if the permission state is equal; otherwise, .
Indicates whether the permission state for the object is the value of the enumeration.
if the permission state for the is the value of ; otherwise, .
Returns a object with attribute values based on the current object.
A with attribute values based on the current .
Returns the logical union of the object and an object that implements the interface.
The object to perform the union with.
is not typed as .
The logical union of the and an object that implements .
Creates a object that either grants or denies the marked target permission to access sections of configuration files.
Initializes a new instance of the class.
The security action represented by an enumeration member of . Determines the permission state of the attribute.
Creates and returns an object that implements the interface.
An object that implements .
Enables a .NET Framework data provider to help ensure that a user has a security level adequate for accessing data.
Initializes a new instance of a class.
Initializes a new instance of a class using an existing .
An existing used to create a new .
Initializes a new instance of a class with the specified .
A security action associated with a custom security attribute.
Initializes a new instance of a class with the specified value.
One of the values.
Initializes a new instance of a class with the specified value, and a value indicating whether a blank password is allowed.
One of the values.
to indicate that a blank password is allowed; otherwise, .
Adds access for the specified connection string to the existing state of the .
A permitted connection string.
String that identifies connection string parameters that are allowed or disallowed.
One of the properties.
Removes all permissions that were previous added using the method.
Creates and returns an identical copy of the current permission object.
A copy of the current permission object.
Creates a new instance of the class.
A new object.
Reconstructs a security object with a specified state from an XML encoding.
The XML encoding to use to reconstruct the security object.
Returns a new permission object representing the intersection of the current permission object and the specified permission object.
A permission object to intersect with the current permission object. It must be of the same type as the current permission object.
The parameter is not a null reference ( in Visual Basic) and is not an instance of the same class as the current permission object.
A new permission object that represents the intersection of the current permission object and the specified permission object. This new permission object is a null reference ( in Visual Basic) if the intersection is empty.
Returns a value indicating whether the current permission object is a subset of the specified permission object.
A permission object that is to be tested for the subset relationship. This object must be of the same type as the current permission object.
The parameter is an object that is not of the same type as the current permission object.
if the current permission object is a subset of the specified permission object, otherwise .
Returns a value indicating whether the permission can be represented as unrestricted without any knowledge of the permission semantics.
if the permission can be represented as unrestricted.
Creates an XML encoding of the security object and its current state.
An XML encoding of the security object, including any state information.
Returns a new permission object that is the union of the current and specified permission objects.
A permission object to combine with the current permission object. It must be of the same type as the current permission object.
The object is not the same type as the current permission object.
A new permission object that represents the union of the current permission object and the specified permission object.
Gets a value indicating whether a blank password is allowed.
if a blank password is allowed, otherwise, .
Associates a security action with a custom security attribute.
Initializes a new instance of the .
One of the security action values representing an action that can be performed by declarative security.
Identifies whether the attribute should serialize the connection string.
if the attribute should serialize the connection string; otherwise .
Identifies whether the attribute should serialize the set of key restrictions.
if the attribute should serialize the set of key restrictions; otherwise .
Gets or sets a value indicating whether a blank password is allowed.
if a blank password is allowed; otherwise .
Gets or sets a permitted connection string.
A permitted connection string.
Identifies whether the list of connection string parameters identified by the property are the only connection string parameters allowed.
One of the values.
Gets or sets connection string parameters that are allowed or disallowed.
One or more connection string parameters that are allowed or disallowed.
Enables the .NET Framework Data Provider for ODBC to help make sure that a user has a security level sufficient to access an ODBC data source. This class cannot be inherited.
Initializes a new instance of the class.
Initializes a new instance of the class with one of the values.
One of the values.
Initializes a new instance of the class.
One of the values.
Indicates whether a blank password is allowed.
Adds access for the specified connection string to the existing state of the permission.
A permitted connection string.
String that identifies connection string parameters that are allowed or disallowed.
One of the values.
Returns the as an .
A copy of the current permission object.
Associates a security action with a custom security attribute.
Initializes a new instance of the class with one of the values.
One of the values representing an action that can be performed by using declarative security.
Returns an object that is configured according to the attribute properties.
An object.
Enables the .NET Framework Data Provider for OLE DB to help make sure that a user has a security level sufficient to access an OLE DB data source.
Initializes a new instance of the class.
Initializes a new instance of the class.
One of the values.
Initializes a new instance of the class.
One of the values.
Indicates whether a blank password is allowed.
Returns the as an .
A copy of the current permission object.
This property has been marked as obsolete. Setting this property will have no effect.
This property has been marked as obsolete. Setting this property will have no effect.
Associates a security action with a custom security attribute.
Initializes a new instance of the class.
One of the values representing an action that can be performed by using declarative security.
Returns an object that is configured according to the attribute properties.
An object.
Gets or sets a comma-delimited string that contains a list of supported providers.
A comma-delimited list of providers allowed by the security policy.
Enables the .NET Framework Data Provider for Oracle to help ensure that a user has a security level adequate to access an Oracle database.
Initializes a new instance of the class with one of the values.
One of the values.
Creates a new set of permissions.
The connection string.
The key restrictions.
One of the enumerations.
When implemented by a derived class, creates and returns an identical copy of the current permission object.
A copy of the current permission object.
When overridden in a derived class, reconstructs a security object with a specified state from an XML encoding.
A expression.
When implemented by a derived class, creates and returns a permission that is the intersection of the current permission and the specified permission.
A permission to intersect with the current permission. It must be of the same type as the current permission.
A new permission that represents the intersection of the current permission and the specified permission. This new permission is if the intersection is empty.
When implemented by a derived class, determines whether the current permission is a subset of the specified permission.
A permission that is to be tested for the subset relationship. This permission must be of the same type as the current permission.
if the current permission is a subset of the specified permission; otherwise, .
Returns a value indicating whether the permission can be represented as unrestricted without any knowledge of the permission semantics.
if the permission can be represented as unrestricted.
Creates an XML encoding of the security object and its current state.
An XML encoding of the security object, including any state information.
Creates a permission that is 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.
A new permission that represents the union of the current permission and the specified permission.
Gets a value indicating whether a blank password is allowed.
if a blank password is allowed, otherwise .
Associates a security action with a custom security attribute.
Initializes a new instance of the class.
One of the values representing an action that can be performed using declarative security.
Returns an object that is configured according to the attribute properties.
An object.
Identifies whether the attribute should serialize the connection string.
if the attribute should serialize the connection string; otherwise .
Identifies whether the attribute should serialize the set of key restrictions.
if the attribute should serialize the set of key restrictions, otherwise .
Gets or sets a value indicating whether a blank password is allowed.
if a blank password is allowed, otherwise .
Gets or sets a permitted connection string.
A permitted connection string.
Identifies whether the list of connection string parameters identified by the property are the only connection string parameters allowed.
One of the values.
Gets or sets connection string parameters that are allowed or disallowed.
One or more connection string parameters that are allowed or disallowed.
Enables the .NET Framework Data Provider for SQL Server to help make sure that a user has a security level sufficient to access a data source.
Initializes a new instance of the class.
Initializes a new instance of the class.
One of the values.
Initializes a new instance of the class.
One of the values.
Indicates whether a blank password is allowed.
Adds a new connection string and a set of restricted keywords to the object.
The connection string.
The key restrictions.
One of the enumerations.
Returns the as an .
A copy of the current permission object.
Associates a security action with a custom security attribute.
Initializes a new instance of the class.
One of the values representing an action that can be performed by using declarative security.
Returns a object that is configured according to the attribute properties.
A object.
Controls code access permissions for event logging.
Initializes a new instance of the class.
Initializes a new instance of the class with the specified access levels and the name of the computer to use.
One of the enumeration values that specifies an access level.
The name of the computer on which to read or write events.
Initializes a new instance of the class with the specified permission entries.
An array of objects that represent permission entries. The property is set to this value.
is .
Initializes a new instance of the class with the specified permission state.
One of the enumeration values that specifies the permission state (full access or no access to resources).
The parameter is not a valid value of .
Gets the collection of permission entries for this permissions request.
A collection that contains the permission entries for this permissions request.
Defines access levels used by permission classes.
The can create an event source, read existing logs, delete event sources or logs, respond to entries, clear an event log, listen to events, and access a collection of all event logs.
The can read existing logs, delete event sources or logs, respond to entries, clear an event log, listen to events, and access a collection of all event logs. This member is now obsolete, use instead.
The can read existing logs. This member is now obsolete, use instead.
The can read or write to existing logs, and create event sources and logs. This member is now obsolete, use instead.
The has no permissions.
The can write to existing logs, and create event sources and logs.
Allows declarative permission checks for event logging.
Initializes a new instance of the class.
One of the values.
Creates the permission based on the property and the requested access levels that are set through the property on the attribute.
An that represents the created permission.
Gets or sets the name of the computer on which events might be read.
The computer name is invalid.
The name of the computer on which events might be read. The default is ".".
Gets or sets the access levels used in the permissions request.
A bitwise combination of the values. The default is .
Defines the smallest unit of a code access security permission that is set for an .
Initializes a new instance of the class.
A bitwise combination of the values. The property is set to this value.
The name of the computer on which to read or write events. The property is set to this value.
The computer name is invalid.
Gets the name of the computer on which to read or write events.
The name of the computer on which to read or write events.
Gets the permission access levels used in the permissions request.
A bitwise combination of the values.
Contains a strongly typed collection of objects.
Adds a specified to this collection.
The to add.
The zero-based index of the added .
Appends a set of specified permission entries to this collection.
An array of type objects that contains the permission entries to add.
is .
Appends a set of specified permission entries to this collection.
A that contains the permission entries to add.
is .
Determines whether this collection contains a specified .
The to find.
if the specified belongs to this collection; otherwise, .
Copies the permission entries from this collection to an array, starting at a particular index of the array.
An array of type that receives this collection's permission entries.
The zero-based index at which to begin copying the permission entries.
Determines the index of a specified permission entry in this collection.
The permission entry to search for.
The zero-based index of the specified permission entry, or -1 if the permission entry was not found in the collection.
Inserts a permission entry into this collection at a specified index.
The zero-based index of the collection at which to insert the permission entry.
The permission entry to insert into this collection.
Performs additional custom processes after clearing the contents of the collection.
Performs additional custom processes before a new permission entry is inserted into the collection.
The zero-based index at which to insert .
The new value of the permission entry at .
Performs additional custom processes when removing a new permission entry from the collection.
The zero-based index at which can be found.
The permission entry to remove from .
Performs additional custom processes before setting a value in the collection.
The zero-based index at which can be found.
The value to replace with .
The new value of the permission entry at .
Removes a specified permission entry from this collection.
The permission entry to remove.
Gets or sets the object at a specified index.
The zero-based index into the collection.
The that exists at the specified index.
Allows control of code access permissions for .
Initializes a new instance of the class.
Initializes a new instance of the class with the specified access levels, the name of the computer to use, and the category associated with the performance counter.
One of the values.
The server on which the performance counter and its associate category reside.
The name of the performance counter category (performance object) with which the performance counter is associated.
Initializes a new instance of the class with the specified permission access level entries.
An array of objects. The property is set to this value.
is .
Initializes a new instance of the class with the specified permission state.
One of the values.
The parameter is not a valid value of .
Gets the collection of permission entries for this permissions request.
A that contains the permission entries for this permissions request.
Defines access levels used by permission classes.
The can read, write, and create categories.
The can read categories.
The can read and write categories.
The has no permissions.
The can read categories.
The can write categories.
Allows declarative performance counter permission checks.
Initializes a new instance of the class.
One of the values.
Creates the permission based on the requested access levels that are set through the property on the attribute.
An that represents the created permission.
Gets or sets the name of the performance counter category.
The value is .
The name of the performance counter category (performance object).
Gets or sets the computer name for the performance counter.
The format is invalid.
The server on which the category of the performance counter resides.
Gets or sets the access levels used in the permissions request.
A bitwise combination of the values. The default is .
Defines the smallest unit of a code access security permission that is set for a .
Initializes a new instance of the class.
A bitwise combination of the values. The property is set to this value.
The server on which the category of the performance counter resides.
The name of the performance counter category (performance object) with which this performance counter is associated.
is .
-or-
is .
is not a valid value.
-or-
is not a valid computer name.
Gets the name of the performance counter category (performance object).
The name of the performance counter category (performance object).
Gets the name of the server on which the category of the performance counter resides.
The name of the server on which the category resides.
Gets the permission access level of the entry.
A bitwise combination of the values.
Contains a strongly typed collection of objects.
Adds a specified to this collection.
The object to add.
The zero-based index of the added object.
Appends a set of specified permission entries to this collection.
An array of type objects that contains the permission entries to add.
is .
Appends a set of specified permission entries to this collection.
A that contains the permission entries to add.
is .
Determines whether this collection contains a specified object.
The object to find.
if the specified object belongs to this collection; otherwise, .
Copies the permission entries from this collection to an array, starting at a particular index of the array.
An array of type that receives this collection's permission entries.
The zero-based index at which to begin copying the permission entries.
Determines the index of a specified permission entry in this collection.
The permission entry for which to search.
The zero-based index of the specified permission entry, or -1 if the permission entry was not found in the collection.
Inserts a permission entry into this collection at a specified index.
The zero-based index of the collection at which to insert the permission entry.
The permission entry to insert into this collection.
Performs additional custom processes after clearing the contents of the collection.
Performs additional custom processes before a new permission entry is inserted into the collection.
The zero-based index at which to insert .
The new value of the permission entry at .
Performs additional custom processes when removing a new permission entry from the collection.
The zero-based index at which can be found.
The permission entry to remove from .
Performs additional custom processes before setting a value in the collection.
The zero-based index at which can be found.
The value to replace with .
The new value of the permission entry at .
Removes a specified permission entry from this collection.
The permission entry to remove.
Gets or sets the object at a specified index.
The zero-based index into the collection.
The object that exists at the specified index.
Controls access to printers. This class cannot be inherited.
Initializes a new instance of the class with the level of printing access specified.
One of the values.
Initializes a new instance of the class with either fully restricted or unrestricted access, as specified.
One of the values.
is not a valid .
Creates and returns an identical copy of the current permission object.
A copy of the current permission object.
Reconstructs a security object with a specified state from an XML encoding.
The XML encoding to use to reconstruct the security object.
Creates and returns a permission that is the intersection of the current permission object and a target permission object.
A permission object of the same type as the current permission object.
is an object that is not of the same type as the current permission object.
A new permission object that represents the intersection of the current object and the specified target. This object is if the intersection is empty.
Determines whether the current permission object is a subset of the specified permission.
A permission object that is to be tested for the subset relationship. This object must be of the same type as the current permission object.
is an object that is not of the same type as the current permission object.
if the current permission object is a subset of ; otherwise, .
Gets a value indicating whether the permission is unrestricted.
if permission is unrestricted; otherwise, .
Creates an XML encoding of the security object and its current state.
An XML encoding of the security object, including any state information.
Creates a permission that combines the permission object and the target permission object.
A permission object of the same type as the current permission object.
is an object that is not of the same type as the current permission object.
A new permission object that represents the union of the current permission object and the specified permission object.
Gets or sets the code's level of printing access.
One of the values.
Allows declarative printing permission checks.
Initializes a new instance of the class.
One of the values.
Creates the permission based on the requested access levels, which are set through the property on the attribute.
An that represents the created permission.
Gets or sets the type of printing allowed.
The value is not one of the values.
One of the values.
Specifies the type of printing that code is allowed to do.
Provides full access to all printers.
Provides printing programmatically to the default printer, along with safe printing through semirestricted dialog box. is a subset of .
Prevents access to printers. is a subset of .
Provides printing only from a restricted dialog box. is a subset of .
Controls rights to access Domain Name System (DNS) servers on the network.
Creates a new instance of the class that either allows unrestricted DNS access or disallows DNS access.
One of the values.
is not a valid value.
Creates an identical copy of the current permission instance.
A new instance of the class that is an identical copy of the current instance.
Reconstructs a instance from an XML encoding.
The XML encoding to use to reconstruct the instance.
is .
is not a element.
Creates a permission instance that is the intersection of the current permission instance and the specified permission instance.
The instance to intersect with the current instance.
is neither a nor .
A instance that represents the intersection of the current instance with the specified instance, or if the intersection is empty. If both the current instance and are unrestricted, this method returns a new instance that is unrestricted; otherwise, it returns .
Determines whether the current permission instance is a subset of the specified permission instance.
The second instance to be tested for the subset relationship.
is neither a nor .
if the current instance is unrestricted and is either or unrestricted; otherwise, .
Checks the overall permission state of the object.
if the instance was created with ; otherwise, .
Creates an XML encoding of a instance and its current state.
A instance that contains an XML-encoded representation of the security object, including state information.
Creates a permission instance that is the union of the current permission instance and the specified permission instance.
The instance to combine with the current instance.
is neither a nor .
A instance that represents the union of the current instance with the specified instance. If is , this method returns a copy of the current instance. If the current instance or is unrestricted, this method returns a instance that is unrestricted; otherwise, it returns a instance that is restricted.
Specifies permission to request information from Domain Name Servers.
Initializes a new instance of the class with the specified value.
One of the values.
The parameter is not a valid .
Creates and returns a new instance of the class.
A that corresponds to the security declaration.
Defines an endpoint that is authorized by a instance.
Determines whether the specified is equal to the current .
The to compare with the current .
if the specified is equal to the current ; otherwise, .
Serves as a hash function for a particular type.
A hash code for the current .
Gets the DNS host name or IP address of the server that is associated with this endpoint.
A string that contains the DNS host name or IP address of the server.
Gets the network port number that is associated with this endpoint.
The network port number that is associated with this request, or .
Gets the transport type that is associated with this endpoint.
One of the values.
Specifies the level of access allowed to a Simple Mail Transport Protocol (SMTP) server.
Connection to an SMTP host on the default port (port 25).
Connection to an SMTP host on any port.
No access to an SMTP host.
Controls access to Simple Mail Transport Protocol (SMTP) servers.
Initializes a new instance of the class with the specified state.
if the new permission is unrestricted; otherwise, .
Initializes a new instance of the class using the specified access level.
One of the values.
Initializes a new instance of the class using the specified permission state value.
One of the values.
Adds the specified access level value to the permission.
One of the values.
Creates and returns an identical copy of the current permission.
An that is identical to the current permission.
Sets the state of the permission using the specified XML encoding.
The XML encoding to use to set the state of the current permission.
does not describe an object.
-or-
does not contain the required state information to reconstruct the permission.
is .
Creates and returns a permission that is the intersection of the current permission and the specified permission.
An to intersect with the current permission. It must be of the same type as the current permission.
is not an .
An that represents the intersection of the current permission and the specified permission. Returns if the intersection is empty or is .
Returns a value indicating whether the current permission is a subset of the specified permission.
An that is to be tested for the subset relationship. This permission must be of the same type as the current permission.
is not an .
if the current permission is a subset of the specified permission; otherwise, .
Returns a value indicating whether the current permission is unrestricted.
if the current permission is unrestricted; otherwise, .
Creates an XML encoding of the state of the permission.
A that contains an XML encoding of the current permission.
Creates a permission that is the union of the current permission and the specified permission.
An to combine with the current permission.
is not an .
A new permission that represents the union of the current permission and the specified permission.
Gets the level of access to SMTP servers controlled by the permission.
One of the values.
Controls access to Simple Mail Transport Protocol (SMTP) servers.
Initializes a new instance of the class.
One of the values that specifies the permission behavior.
is not a valid .
Creates a permission object that can be stored with the in an assembly's metadata.
An instance.
Gets or sets the level of access to SMTP servers controlled by the attribute.
A value. Valid values are "Connect" and "None".
Specifies network access permissions.
Indicates that the application is allowed to accept connections from the Internet on a local resource. Notice that this is a protection for the local host that uses Accept to grant access to a local resource (address/port). At the time a socket tries to bind to this local resource a permission check is performed to see if an Accept exists on that resource.
Indicates that the application is allowed to connect to specific Internet resources. Notice that, in the case of remote host resource, no check is performed to see that Connect permissions exist. This is because the port of a connecting remote host is unknown and not suitable permissions can be built in advance. It is the application responsibility to check the permissions of the remote host trying to connect to a listening socket.
Specifies permission to access information about network interfaces and traffic statistics.
No access to network information.
Ping access to network information.
Read access to network information.
Controls access to network information and traffic statistics for the local computer. This class cannot be inherited.
Initializes a new instance of the class using the specified value.
One of the values.
Initializes a new instance of the class with the specified .
One of the values.
Adds the specified value to this permission.
One of the values.
Creates and returns an identical copy of this permission.
A that is identical to the current permission
Sets the state of this permission using the specified XML encoding.
A that contains the XML encoding to use to set the state of the current permission
is .
is not a permission encoding.
-or-
is not an encoding of a .
-or-
has invalid values.
Creates and returns a permission that is the intersection of the current permission and the specified permission.
An to intersect with the current permission. It must be of the same type as the current permission.
is not a .
A that represents the intersection of the current permission and the specified permission. This new permission is if the intersection is empty or is .
Determines whether the current permission is a subset of the specified permission.
An that is to be tested for the subset relationship. This permission must be of the same type as the current permission
if the current permission is a subset of the specified permission; otherwise, .
Returns a value indicating whether the current permission is unrestricted.
if the current permission is unrestricted; otherwise, .
Creates an XML encoding of the state of this permission.
A that contains the XML encoding of the current permission.
Creates a permission that is the union of this permission and the specified permission.
A permission to combine with the current permission.
A new permission that represents the union of the current permission and the specified permission.
Gets the level of access to network information controlled by this permission.
One of the values.
Allows security actions for to be applied to code using declarative security.
Initializes a new instance of the class.
A value that specifies the permission behavior.
Creates and returns a new object.
A that corresponds to this attribute.
Gets or sets the network information access level.
A string that specifies the access level.
Specifies the values that define or are used in object permissions.
Initializes a new instance of the . The initial for this instance is passed when the constructor is called.
One of the values in the enumeration.
Creates and returns a copy of the current .
A that contains a copy of the current instance of .
Represents the XML object model for encoding security objects.
The XML encoding to use to reconstruct the permission.
The parameter is not a valid permission element.
-or-
The parameter does not contain a valid type or class.
-or-
The parameter's version number is not supported.
The parameter is a reference ( in Visual Basic).
Creates and returns a permission that is the intersection of the current and the specified permission.
Permission to with the current permission. It must be of the same type as the current permission.
The target parameter is not a reference ( in Visual Basic) and is not an instance of the same class as the current permission.
A new permission that represents the intersection of the current and the specified permission. This new permission is a reference ( in Visual Basic) if the intersection is empty.
Determines whether the current is a subset of the specified permission.
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 a reference ( in Visual Basic).
if the current is a subset of the specified permission; otherwise, .
Returns a value specifying whether the current is unrestricted.
if the current permission is unrestricted; otherwise, .
Creates an XML encoding of the and its current state.
An XML encoding of the permission, including any state information.
Creates a permission that is the union of the current 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 a reference ( in Visual Basic).
A new permission that represents the of the current and the specified 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 .
Specifies a value.
Creates and returns a new .
A new object.
Specifies the values that are used in object permissions.
Initializes a new instance of the class with the supplied initial permission state.
One of the values in the enumeration.
Creates and returns an identical copy of the current .
The parameter is not a valid element.
-or-
The parameter's version number is not supported.
The parameter is a reference ( in Visual Basic).
An object with an IPermission interface, whose instance contains a copy of the current instance of .
Reconstructs a security object with a specified state from an XML encoding.
The XML encoding to use to reconstruct the permission.
The parameter is not a valid element.
-or-
The parameter's version number is not supported.
The parameter is a reference ( in Visual Basic).
Creates and returns a permission that is the intersection of the current and the specified permission.
A permission to with the current permission. It must be of the same type as the current permission.
The target parameter is not a reference ( in Visual Basic) and is not an instance of the same class as the current permission.
A new permission that represents the intersection of the current and the specified permission. This new permission is a reference ( in Visual Basic) if the intersection is empty.
Determines whether the current is a subset of the specified permission.
A permission that is to be tested for the subset relationship. This permission must be of the same type as the current permission.
The target parameter is not a reference ( in Visual Basic) and is not an instance of the same class as the current permission.
if the current is a subset of the specified permission; otherwise, .
Returns a value specifying whether the current is unrestricted.
if the current permission is unrestricted; otherwise, .
Creates an XML encoding of the and its current state.
A object that contains an XML encoding of the permission, including any state information.
Creates a permission that is the union of the current and the specified permission.
A permission to combine with the current permission. It must be of the same type as the current permission.
parameter is invalid.
A new permission that represents the of the current and the specified 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 new object.
Specifies the different scopes of a PNRP cloud.
All IP addresses are allowed to register with the PNRP . There is no difference between any scope and all scopes.
The scope is global; all valid IP addresses are allowed to register with the PNRP .
The scope is link-local; only IP addresses defined for the local area subnet are allowed to register with the PNRP .
The scope is site-local; only IP addresses defined for the site are allowed to register with the PNRP.
Controls rights to make or accept connections on a transport address.
Defines a constant that represents all ports.
Initializes a new instance of the class for the given transport address with the specified permission.
One of the values.
One of the values.
The host name for the transport address.
The port number for the transport address.
is .
Initializes a new instance of the class that allows unrestricted access to the or disallows access to the .
One of the values.
Adds a permission to the set of permissions for a transport address.
One of the values.
One of the values.
The host name for the transport address.
The port number for the transport address.
is .
Creates a copy of a instance.
A new instance of the class that is a copy of the current instance.
Reconstructs a instance for an XML encoding.
The XML encoding used to reconstruct the instance.
The is .
The is not a permission element for this type.
Returns the logical intersection between two instances.
The instance to intersect with the current instance.
The parameter is not a .
is not granted to the method caller.
The instance that represents the intersection of two instances. If the intersection is empty, the method returns . If the parameter is a null reference, the method returns .
Determines if the current permission is a subset of the specified permission.
A that is to be tested for the subset relationship.
is not a .
is not granted to the method caller.
If is , this method returns if the current instance defines no permissions; otherwise, . If is not , this method returns if the current instance defines a subset of permissions; otherwise, .
Checks the overall permission state of the object.
if the instance is created with the value from ; otherwise, .
Creates an XML encoding of a instance and its current state.
A instance that contains an XML-encoded representation of the instance, including state information.
Returns the logical union between two instances.
The instance to combine with the current instance.
is not a .
The instance that represents the union of two instances. If parameter is , it returns a copy of the current instance.
Gets a list of instances that identifies the endpoints that can be accepted under this permission instance.
An instance that implements the interface that contains instances.
Gets a list of instances that identifies the endpoints that can be connected to under this permission instance.
An instance that implements the interface that contains instances.
Specifies security actions to control connections. This class cannot be inherited.
Initializes a new instance of the class with the specified value.
One of the values.
is not a valid value.
Creates and returns a new instance of the class.
One or more of the current instance's , , , or properties is .
An instance of the class that corresponds to the security declaration.
Gets or sets the network access method that is allowed by this .
The property is not when you attempt to set the value. To specify more than one Access method, use an additional attribute declaration statement.
A string that contains the network access method that is allowed by this instance of . Valid values are "Accept" and "Connect."
Gets or sets the DNS host name or IP address that is specified by this .
is not when you attempt to set the value. To specify more than one host, use an additional attribute declaration statement.
A string that contains the DNS host name or IP address that is associated with this instance of .
Gets or sets the port number that is associated with this .
The property is when you attempt to set the value. To specify more than one port, use an additional attribute declaration statement.
A string that contains the port number that is associated with this instance of .
Gets or sets the that is specified by this .
is not when you attempt to set the value. To specify more than one transport type, use an additional attribute declaration statement.
A string that contains the that is associated with this .
Defines transport types for the and classes.
All transport types.
The transport type is connectionless, such as UDP. Specifying this value has the same effect as specifying .
The transport is connection oriented, such as TCP. Specifying this value has the same effect as specifying .
TCP transport.
UDP transport.
Controls rights to access HTTP Internet resources.
Creates a new instance of the class.
Initializes a new instance of the class with the specified access rights for the specified URI.
A NetworkAccess value that indicates what kind of access to grant to the specified URI. indicates that the application is allowed to accept connections from the Internet on a local resource. indicates that the application is allowed to connect to specific Internet resources.
A URI string to which access rights are granted.
is .
Initializes a new instance of the class with the specified access rights for the specified URI regular expression.
A value that indicates what kind of access to grant to the specified URI. indicates that the application is allowed to accept connections from the Internet on a local resource. indicates that the application is allowed to connect to specific Internet resources.
A regular expression that describes the URI to which access is to be granted.
Creates a new instance of the class that passes all demands or fails all demands.
A value.
Adds the specified URI string with the specified access rights to the current .
A that specifies the access rights that are granted to the URI.
A string that describes the URI to which access rights are granted.
is .
Adds the specified URI with the specified access rights to the current .
A NetworkAccess that specifies the access rights that are granted to the URI.
A regular expression that describes the set of URIs to which access rights are granted.
The parameter is .
Creates a copy of a .
A new instance of the class that has the same values as the original.
Reconstructs a from an XML encoding.
The XML encoding from which to reconstruct the .
The parameter is .
is not a permission element for this type.
Returns the logical intersection of two instances.
The to compare with the current instance.
is not or of type
A new that represents the intersection of the current instance and the parameter. If the intersection is empty, the method returns .
Determines whether the current is a subset of the specified object.
The to compare to the current .
The target parameter is not an instance of .
The current instance contains a Regex-encoded right and there is not exactly the same right found in the target instance.
if the current instance is a subset of the parameter; otherwise, . If the target is , the method returns for an empty current permission that is not unrestricted and otherwise.
Checks the overall permission state of the .
if the was created with the ; otherwise, .
Creates an XML encoding of a and its current state.
A that contains an XML-encoded representation of the , including state information.
Returns the logical union between two instances of the class.
The to combine with the current .
target is not or of type .
A that represents the union of the current instance and the parameter. If either is , the method returns a that is . If the target is , the method returns a copy of the current .
This property returns an enumeration of a single accept permissions held by this . The possible objects types contained in the returned enumeration are and .
The interface that contains accept permissions.
This property returns an enumeration of a single connect permissions held by this . The possible objects types contained in the returned enumeration are and .
The interface that contains connect permissions.
Specifies permission to access Internet resources. This class cannot be inherited.
Initializes a new instance of the class with a value that specifies the security actions that can be performed on this class.
One of the values.
is not a valid value.
Creates and returns a new instance of the class.
A corresponding to the security declaration.
Gets or sets the URI string accepted by the current .
is not when you attempt to set the value. If you wish to specify more than one Accept URI, use an additional attribute declaration statement.
A string containing the URI accepted by the current .
Gets or sets a regular expression pattern that describes the URI accepted by the current .
is not when you attempt to set the value. If you wish to specify more than one Accept URI, use an additional attribute declaration statement.
A string containing a regular expression pattern that describes the URI accepted by the current . This string must be escaped according to the rules for encoding a constructor string.
Gets or sets the URI connection string controlled by the current .
is not when you attempt to set the value. If you wish to specify more than one Connect URI, use an additional attribute declaration statement.
A string containing the URI connection controlled by the current .
Gets or sets a regular expression pattern that describes the URI connection controlled by the current .
is not when you attempt to set the value. If you wish to specify more than one connect URI, use an additional attribute declaration statement.
A string containing a regular expression pattern that describes the URI connection controlled by this .
Defines the underlying structure of all code access permissions.
Initializes a new instance of the class.
Declares that the calling code can access the resource protected by a permission demand through the code that calls this method, even if callers higher in the stack have not been granted permission to access the resource. Using can create security issues.
The calling code does not have .
-or-
There is already an active for the current frame.
When implemented by a derived class, creates and returns an identical copy of the current permission object.
A copy of the current permission object.
Forces a at run time if all callers higher in the call stack have not been granted the permission specified by the current instance.
A caller higher in the call stack does not have the permission specified by the current instance.
-or-
A caller higher in the call stack has called on the current permission object.
Prevents callers higher in the call stack from using the code that calls this method to access the resource specified by the current instance.
There is already an active for the current frame.
Determines whether the specified object is equal to the current .
The object to compare with the current .
if the specified object is equal to the current ; otherwise, .
When overridden in a derived class, reconstructs a security object with a specified state from an XML encoding.
The XML encoding to use to reconstruct the security object.
The parameter is .
The parameter does not contain the XML encoding for an instance of the same type as the current instance.
-or-
The version number of the parameter is not supported.
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.
When implemented by a derived class, creates and returns a permission that is the intersection of the current permission and the specified permission.
A permission to intersect with the current permission. It must be of the same type as the current permission.
The parameter is not and is not an instance of the same class as the current permission.
A new permission that represents the intersection of the current permission and the specified permission. This new permission is if the intersection is empty.
When implemented by a derived class, determines whether the current permission is a subset of the specified permission.
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 and is not of the same type as the current permission.
if the current permission is a subset of the specified permission; otherwise, .
Prevents callers higher in the call stack from using the code that calls this method to access all resources except for the resource specified by the current instance.
There is already an active for the current frame.
Causes all previous overrides for the current frame to be removed and no longer in effect.
There is no previous , , or for the current frame.
Causes any previous for the current frame to be removed and no longer in effect.
There is no previous for the current frame.
Causes any previous for the current frame to be removed and no longer in effect.
There is no previous for the current frame.
Causes any previous for the current frame to be removed and no longer in effect.
There is no previous for the current frame.
Creates and returns a string representation of the current permission object.
A string representation of the current permission object.
When overridden in a derived class, creates an XML encoding of the security object and its current state.
An XML encoding of the security object, including any state information.
When overridden in a derived class, creates a permission that is 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 . This method is only supported at this level when passed .
A new permission that represents the union of the current permission and the specified permission.
The exception that is thrown when a denied host resource is detected.
Initializes a new instance of the class with default values.
Initializes a new instance of the class using the provided serialization information and streaming context.
The object that holds the serialized object data.
Contextual information about the source or destination.
is .
Initializes a new instance of the class with a specified error message.
The message that describes the error.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the innerException parameter is not , the current exception is raised in a block that handles the inner exception.
Initializes a new instance of the class with a specified error message, the protected host resources, and the host resources that caused the exception to be thrown.
The error message that explains the reason for the exception.
A bitwise combination of the enumeration values that specify the host resources that are inaccessible to partially trusted code.
A bitwise combination of the enumeration values that specify the demanded host resources.
Returns a string representation of the current host protection exception.
A string representation of the current .
Gets or sets the demanded host protection resources that caused the exception to be thrown.
A bitwise combination of the values identifying the protection resources causing the exception to be thrown. The default is .
Gets or sets the host protection resources that are inaccessible to partially trusted code.
A bitwise combination of the values identifying the inaccessible host protection categories. The default is .
Allows the control and customization of security behavior for application domains.
Initializes a new instance of the class.
Determines whether an application should be executed.
The evidence for the application to be activated.
Optionally, the evidence for the activating application domain.
The trust context.
is .
An object could not be found in the application evidence.
-or-
The property in the activation arguments is .
The grant set does not contain the minimum request set specified by the .
An object that contains trust information about the application.
Requests a specific evidence type for the application domain.
The evidence type.
The requested application domain evidence.
Requests a specific evidence type for the assembly.
The evidence type.
The target assembly.
The requested assembly evidence.
Determines which evidence types the host can supply for the application domain, if requested.
An array of evidence types.
Determines which evidence types the host can supply for the assembly, if requested.
The target assembly.
An array of evidence types.
Provides the application domain evidence for an assembly being loaded.
Additional evidence to add to the evidence.
The evidence to be used for the .
Provides the assembly evidence for an assembly being loaded.
The loaded assembly.
Additional evidence to add to the assembly evidence.
The evidence to be used for the assembly.
Determines what permissions to grant to code based on the specified evidence.
The evidence set used to evaluate policy.
is .
The permission set that can be granted by the security system.
When overridden in a derived class, gets the security policy for the current application domain.
This method uses code access security (CAS) policy, which is obsolete in the .NET Framework 4. To enable CAS policy for compatibility with earlier versions of the .NET Framework, use the <legacyCasPolicy> element.
The security policy for the current application domain. The default is .
Gets the flag representing the security policy components of concern to the host.
One of the enumeration values that specifies security policy components. The default is .
Specifies the security policy components to be used by the host security manager.
Use all security policy components.
Use the application domain evidence.
Use the assembly evidence.
Route calls to the method to the method first.
Use the policy level specified in the property.
Use the method to resolve the application evidence.
Use none of the security policy components.
Gets an object's .
Gets that verifies the current object's identity.
of the current object's identity.
Supports the methods that convert permission object state to and from an XML element representation.
Reconstructs a security object with a specified state from an XML encoding.
The XML encoding to use to reconstruct the security object.
The policy-level context to resolve named permission set references.
Creates an XML encoding of the security object and its current state.
The policy-level context to resolve named permission set references.
The root element of the XML representation of the policy object.
Defines a permission set that has a name and description associated with it. This class cannot be inherited.
Initializes a new instance of the class from another named permission set.
The named permission set from which to create the new instance.
Initializes a new, empty instance of the class with the specified name.
The name for the new named permission set.
The parameter is or is an empty string ("").
Initializes a new instance of the class with the specified name in either an unrestricted or a fully restricted state.
The name for the new named permission set.
One of the values.
The parameter is or is an empty string ("").
Initializes a new instance of the class with the specified name from a permission set.
The name for the named permission set.
The permission set from which to take the value of the new named permission set.
The parameter is or is an empty string ("").
Creates a permission set copy from a named permission set.
A permission set that is a copy of the permissions in the named permission set.
Creates a copy of the named permission set with a different name but the same permissions.
The name for the new named permission set.
The parameter is or is an empty string ("").
A copy of the named permission set with the new name.
Determines whether the specified object is equal to the current .
The object to compare with the current .
if the specified is equal to the current object; otherwise, .
Reconstructs a named permission set with a specified state from an XML encoding.
A security element containing the XML representation of the named permission set.
The parameter is not a valid representation of a named permission set.
The parameter is .
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 an XML element description of the named permission set.
The XML representation of the named permission set.
Gets or sets the text description of the current named permission set.
A text description of the named permission set.
Gets or sets the name of the current named permission set.
The name is or is an empty string ("").
The name of the named permission set.
Controls the ability to access encrypted data and memory. This class cannot be inherited.
Initializes a new instance of the class with the specified permission flags.
A bitwise combination of the values.
is not a valid combination of the values.
Initializes a new instance of the class with the specified permission state.
One of the values.
is not a valid value.
Creates and returns an identical copy of the current permission.
A copy of the current permission.
Reconstructs a permission with a specific state from an XML encoding.
A that contains the XML encoding used to reconstruct the permission.
is .
is not a valid permission element.
-or-
The version number of is not supported.
Creates and returns a permission that is the intersection of the current permission and the specified permission.
A permission to intersect with the current permission. It must be the same type as the current permission.
is not and does not specify a permission of the same type as the current permission.
A new permission that represents the intersection of the current permission and the specified permission. This new permission is if the intersection is empty.
Determines whether the current permission is a subset of the specified permission.
A permission to test for the subset relationship. This permission must be the same type as the current permission.
is not and does not specify a permission of the same type as the current permission.
if the current permission is a subset of the specified permission; otherwise, .
Returns a value indicating whether the current permission is unrestricted.
if the current permission is unrestricted; otherwise, .
Creates an XML encoding of the permission and its current state.
An XML encoding of the permission, including state information.
Creates a permission that is 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.
is not and does not specify a permission of the same type as the current permission.
A new permission that represents the union of the current permission and the specified permission.
Gets or sets the data and memory protection flags.
The specified value is not a valid combination of the values.
A bitwise combination of the values.
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.
Creates and returns a new .
A that corresponds to the attribute.
Gets or sets the data protection permissions.
A bitwise combination of the values. The default is .
Gets or sets a value indicating whether data can be encrypted using the class.
if data can be encrypted; otherwise, .
Gets or sets a value indicating whether memory can be encrypted using the class.
if memory can be encrypted; otherwise, .
Gets or sets a value indicating whether data can be unencrypted using the class.
if data can be unencrypted; otherwise, .
Gets or sets a value indicating whether memory can be unencrypted using the class.
if memory can be unencrypted; otherwise, .
Specifies the access permissions for encrypting data and memory.
The ability to encrypt data, encrypt memory, unencrypt data, and unencrypt memory.
No protection abilities.
The ability to encrypt data.
The ability to encrypt memory.
The ability to unencrypt data.
The ability to unencrypt memory.
Controls access to system and user environment variables. This class cannot be inherited.
Initializes a new instance of the class with the specified access to the specified environment variables.
One of the values.
A list of environment variables (semicolon-separated) to which access is granted.
The parameter is .
The parameter is not a valid value of .
Initializes a new instance of the class with either restricted or unrestricted permission as specified.
One of the values.
The parameter is not a valid value of .
Adds access for the specified environment variables to the existing state of the permission.
One of the values.
A list of environment variables (semicolon-separated).
The parameter is .
The parameter is not a valid value of .
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 .
The parameter is not a valid permission element.
-or-
The parameter's version number is not valid.
Gets all environment variables with the specified .
One of the values that represents a single type of environment variable access.
is not a valid value of .
-or-
is , which represents more than one type of environment variable access, or , which does not represent any type of environment variable access.
A list of environment variables (semicolon-separated) for the selected flag.
Creates and returns a permission that is the intersection of the current permission and the specified permission.
A permission to intersect with the current permission. It must be of the same type as the current permission.
The parameter is not and is not of the same type as the current permission.
A new permission that represents the intersection of the current permission and the specified permission. This new permission is if the intersection is empty.
Determines whether the current permission is a subset of the specified permission.
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 and is not of the same type as the current permission.
if the current permission is a subset of the specified permission; otherwise, .
Returns a value indicating whether the current permission is unrestricted.
if the current permission is unrestricted; otherwise, .
Sets the specified access to the specified environment variables to the existing state of the permission.
One of the values.
A list of environment variables (semicolon-separated).
The parameter is .
The parameter is not a valid value of .
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 permission to combine with the current permission. It must be of the same type as the current permission.
The parameter is not and is not of the same type as the current permission.
A new permission that represents the union of the current permission and the specified permission.
Specifies access to environment variables.
and access to environment variables. represents multiple values and causes an when used as the parameter for the method, which expects a single value.
No access to environment variables. represents no valid values and causes an when used as the parameter for , which expects a single value.
Only read access to environment variables is specified. Changing, deleting and creating environment variables is not included in this access level.
Only write access to environment variables is specified. Write access includes creating and deleting environment variables as well as changing existing values. Reading environment variables is not included in this access level.
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.
The parameter is not a valid value of .
Creates and returns a new .
An that corresponds to this attribute.
Sets full access for the environment variables specified by the string value.
The get method is not supported for this property.
A list of environment variables for full access.
Gets or sets read access for the environment variables specified by the string value.
A list of environment variables for read access.
Gets or sets write access for the environment variables specified by the string value.
A list of environment variables for write access.
Controls the ability to access files or folders through a File dialog box. This class cannot be inherited.
Initializes a new instance of the class with the specified access.
A bitwise combination of the values.
The parameter is not a valid combination of the values.
Initializes a new instance of the class with either restricted or unrestricted permission, as specified.
One of the values ( or ).
The parameter is not a valid value of .
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 used to reconstruct the permission.
The parameter is .
The parameter is not a valid permission element.
-or-
The version number of the parameter is not supported.
Creates and returns a permission that is the intersection of the current permission and the specified permission.
A permission to intersect with the current permission. It must be the same type as the current permission.
The parameter is not and is not of the same type as the current permission.
A new permission that represents the intersection of the current permission and the specified permission. This new permission is if the intersection is empty.
Determines whether the current permission is a subset of the specified permission.
A permission that is to be tested for the subset relationship. This permission must be the same type as the current permission.
The parameter is not and is not of the same type as the current permission.
if the current permission is a subset of the specified permission; otherwise, .
Returns a value indicating whether the current permission is unrestricted.
if the current permission is unrestricted; otherwise, .
Creates an XML encoding of the permission and its current state.
An XML encoding of the permission, including state information.
Creates a permission that is 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 and is not of the same type as the current permission.
A new permission that represents the union of the current permission and the specified permission.
Gets or sets the permitted access to files.
An attempt is made to set the parameter to a value that is not a valid combination of the values.
The permitted access to files.
Specifies the type of access to files allowed through the File dialog boxes.
No access to files through the File dialog boxes.
Ability to open files through the File dialog boxes.
Ability to open and save files through the File dialog boxes.
Ability to save files through the File dialog boxes.
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.
Creates and returns a new .
A that corresponds to this attribute.
Gets or sets a value indicating whether permission to open files through the file dialog is declared.
if permission to open files through the file dialog is declared; otherwise, .
Gets or sets a value indicating whether permission to save files through the file dialog is declared.
if permission to save files through the file dialog is declared; otherwise, .
Controls the ability to access files and folders. This class cannot be inherited.
Initializes a new instance of the class with the specified access to the designated file or directory and the specified access rights to file control information.
A bitwise combination of the enumeration values.
A bitwise combination of the enumeration values.
The absolute path of the file or directory.
The parameter is not a valid value of .
-or-
The parameter is not a valid string.
-or-
The parameter does not specify the absolute path to the file or directory.
Initializes a new instance of the class with the specified access to the designated files and directories and the specified access rights to file control information.
A bitwise combination of the enumeration values.
A bitwise combination of the enumeration values.
An array containing the absolute paths of the files and directories.
The parameter is not a valid value of .
-or-
An entry in the array is not a valid string.
Initializes a new instance of the class with the specified access to the designated file or directory.
A bitwise combination of the enumeration values.
The absolute path of the file or directory.
The parameter is not a valid value of .
-or-
The parameter is not a valid string.
-or-
The parameter does not specify the absolute path to the file or directory.
Initializes a new instance of the class with the specified access to the designated files and directories.
A bitwise combination of the enumeration values.
An array containing the absolute paths of the files and directories.
The parameter is not a valid value of .
-or-
An entry in the array is not a valid string.
Initializes a new instance of the class with fully restricted or unrestricted permission as specified.
One of the enumeration values.
The parameter is not a valid value of .
Adds access for the specified file or directory to the existing state of the permission.
A bitwise combination of the values.
The absolute path of a file or directory.
The parameter is not a valid value of .
-or-
The parameter is not a valid string.
-or-
The parameter did not specify the absolute path to the file or directory.
The parameter is .
The parameter has an invalid format.
Adds access for the specified files and directories to the existing state of the permission.
A bitwise combination of the values.
An array containing the absolute paths of the files and directories.
The parameter is not a valid value of .
-or-
An entry in the array is not valid.
An entry in the array has an invalid format.
The parameter is .
Creates and returns an identical copy of the current permission.
A copy of the current permission.
Determines whether the specified object is equal to the current .
The object to compare with the current .
if the specified is equal to the current object; otherwise, .
Reconstructs a permission with a specified state from an XML encoding.
The XML encoding used to reconstruct the permission.
The parameter is .
The parameter is not a valid permission element.
-or-
The parameter's version number is not compatible.
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.
Gets all files and directories with the specified .
One of the values that represents a single type of file access.
is not a valid value of .
-or-
is , which represents more than one type of file access, or , which does not represent any type of file access.
An array containing the paths of the files and directories to which access specified by the parameter is granted.
Creates and returns a permission that is the intersection of the current permission and the specified permission.
A permission to intersect with the current permission. It must be the same type as the current permission.
The parameter is not and is not of the same type as the current permission.
A new permission that represents the intersection of the current permission and the specified permission. This new permission is if the intersection is empty.
Determines whether the current permission is a subset of the specified permission.
A permission that is to be tested for the subset relationship. This permission must be the same type as the current permission.
The parameter is not and is not of the same type as the current permission.
if the current permission is a subset of the specified permission; otherwise, .
Returns a value indicating whether the current permission is unrestricted.
if the current permission is unrestricted; otherwise, .
Sets the specified access to the specified file or directory, replacing the existing state of the permission.
A bitwise combination of the values.
The absolute path of the file or directory.
The parameter is not a valid value of .
-or-
The parameter is not a valid string.
-or-
The parameter did not specify the absolute path to the file or directory.
Sets the specified access to the specified files and directories, replacing the current state for the specified access with the new set of paths.
A bitwise combination of the values.
An array containing the absolute paths of the files and directories.
The parameter is not a valid value of .
-or-
An entry in the parameter is not a valid string.
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 permission to combine with the current permission. It must be the same type as the current permission.
The parameter is not and is not of the same type as the current permission.
A new permission that represents the union of the current permission and the specified permission.
Gets or sets the permitted access to all files.
The set of file I/O flags for all files.
Gets or sets the permitted access to all local files.
The set of file I/O flags for all local files.
Specifies the type of file access requested.
, , , and access to a file or directory. represents multiple values and causes an when used as the parameter for the method, which expects a single value.
Access to append material to a file or directory. access includes the ability to create a new file or directory. To create files, code must also be granted both and either or access.
No access to a file or directory. represents no valid values and causes an when used as the parameter for , which expects a single value.
Access to the information in the path itself. This helps protect sensitive information in the path, such as user names, as well as information about the directory structure revealed in the path. This value does not grant access to files or folders represented by the path.
For performance reasons, should only be granted to directories, not to files. For example, permission should be granted to paths such as C:\test and C:\test\, not C:\test\example.txt.
Access to read from a file or directory.
Access to write to or delete a file or directory. access includes deleting and overwriting files or directories.
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.
The parameter is not a valid .
Creates and returns a new .
The path information for a file or directory for which access is to be secured contains invalid characters or wildcard specifiers.
A that corresponds to this attribute.
Gets or sets full access for the file or directory that is specified by the string value.
The get method is not supported for this property.
The absolute path of the file or directory for full access.
Gets or sets the permitted access to all files.
A bitwise combination of the values that represents the permissions for all files. The default is .
Gets or sets the permitted access to all local files.
A bitwise combination of the values that represents the permissions for all local files. The default is .
Gets or sets append access for the file or directory that is specified by the string value.
The absolute path of the file or directory for append access.
Gets or sets the file or directory in which access control information can be changed.
The absolute path of the file or directory in which access control information can be changed.
Gets or sets the file or directory to which to grant path discovery.
The absolute path of the file or directory.
Gets or sets read access for the file or directory specified by the string value.
The absolute path of the file or directory for read access.
Gets or sets the file or directory in which access control information can be viewed.
The absolute path of the file or directory in which access control information can be viewed.
Gets or sets the file or directory in which file data can be viewed and modified.
The accessor is called. The accessor is provided only for C# compiler compatibility.
The absolute path of the file or directory in which file data can be viewed and modified.
Gets or sets write access for the file or directory specified by the string value.
The absolute path of the file or directory for write access.
Defines the identity permission for files originating in the global assembly cache. This class cannot be inherited.
Initializes a new instance of the class.
Initializes a new instance of the class with fully restricted .
One of the values.
is not a valid value.
Creates and returns an identical copy of the current permission.
A copy of the current permission.
Creates a permission from an XML encoding.
A that contains the XML encoding to use to create the permission.
is .
is not a valid permission element.
-or-
The version number of is not valid.
Creates and returns a permission that is the intersection of the current permission and the specified permission.
A permission to intersect with the current permission. It must be of the same type as the current permission.
is not and is not of the same type as the current permission.
A new permission that represents the intersection of the current permission and the specified permission. The new permission is if the intersection is empty.
Indicates whether the current permission is a subset of the specified permission.
A permission object to test for the subset relationship. The permission must be of the same type as the current permission.
is not and is not of the same type as the current permission.
if the current permission is a subset of the specified permission; otherwise, .
Creates an XML encoding of the permission and its current state.
A that represents the XML encoding of the permission, including any state information.
Creates and returns a permission that is 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.
is not and is not of the same type as the current permission.
A new permission that represents the union of the current permission and the specified 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 value.
One of the values.
The parameter is not a valid value.
Creates a new object.
A that corresponds to this attribute.
Allows the use of declarative security actions to determine host protection requirements. This class cannot be inherited.
Initializes a new instance of the class with default values.
Initializes a new instance of the class with the specified value.
One of the values.
is not .
Creates and returns a new host protection permission.
An that corresponds to the current attribute.
Gets or sets a value indicating whether external process management is exposed.
if external process management is exposed; otherwise, . The default is .
Gets or sets a value indicating whether external threading is exposed.
if external threading is exposed; otherwise, . The default is .
Gets or sets a value indicating whether resources might leak memory if the operation is terminated.
if resources might leak memory on termination; otherwise, .
Gets or sets flags specifying categories of functionality that are potentially harmful to the host.
A bitwise combination of the values. The default is .
Gets or sets a value indicating whether the security infrastructure is exposed.
if the security infrastructure is exposed; otherwise, . The default is .
Gets or sets a value indicating whether self-affecting process management is exposed.
if self-affecting process management is exposed; otherwise, . The default is .
Gets or sets a value indicating whether self-affecting threading is exposed.
if self-affecting threading is exposed; otherwise, . The default is .
Gets or sets a value indicating whether shared state is exposed.
if shared state is exposed; otherwise, . The default is .
Gets or sets a value indicating whether synchronization is exposed.
if synchronization is exposed; otherwise, . The default is .
Gets or sets a value indicating whether the user interface is exposed.
if the user interface is exposed; otherwise, . The default is .
Specifies categories of functionality potentially harmful to the host if invoked by a method or class.
Exposes all host resources.
Might create or destroy other processes.
Creates or manipulates threads other than its own, which might be harmful to the host.
Might cause a resource leak on termination, if not protected by a safe handle or some other means of ensuring the release of resources.
Exposes no host resources.
Exposes the security infrastructure.
Might exit the current process, terminating the server.
Manipulates threads in a way that only affects user code.
Exposes state that might be shared between threads.
Exposes synchronization.
Exposes the user interface.
Specifies the permitted use of isolated storage.
Unlimited administration ability for the user store. Allows browsing and deletion of the entire user store, but not read access other than the user's own domain/assembly identity.
Storage is isolated first by computer and then by application. This provides a data store for the application that is accessible in any domain context. The per-application data compartment requires additional trust because it potentially provides a "tunnel" between applications that could compromise the data isolation of applications in particular Web sites.
Storage is isolated first by user and then by application evidence. Storage will roam if Windows user data roaming is enabled. This provides a data store for the application that is accessible in any domain context. The per-application data compartment requires additional trust because it potentially provides a "tunnel" between applications that could compromise the data isolation of applications in particular Web sites.
Storage is isolated first by user and then by application. Storage is also isolated by computer. This provides a data store for the application that is accessible in any domain context. The per-application data compartment requires additional trust because it potentially provides a "tunnel" between applications that could compromise the data isolation of applications in particular Web sites.
Storage is isolated first by computer and then by code assembly. This provides a data store for the assembly that is accessible in any domain context. The per-assembly data compartment requires additional trust because it potentially provides a "tunnel" between applications that could compromise the data isolation of applications in particular Web sites.
Storage is isolated first by user and then by assembly evidence. Storage will roam if Windows user data roaming is enabled. This provides a data store for the assembly that is accessible in any domain context. The per-assembly data compartment requires additional trust because it potentially provides a "tunnel" between applications that could compromise the data isolation of applications in particular Web sites.
Storage is isolated first by user and then by code assembly. Storage is also isolated by computer. This provides a data store for the assembly that is accessible in any domain context. The per-assembly data compartment requires additional trust because it potentially provides a "tunnel" between applications that could compromise the data isolation of applications in particular Web sites.
Storage is isolated first by computer and then by domain and assembly. Data can only be accessed within the context of the same application and only when run on the same computer. This is helpful when a third-party assembly wants to keep a private data store.
Storage is isolated first by user and then by domain and assembly. Storage will roam if Windows user data roaming is enabled. Data can only be accessed within the context of the same application and only when run by the same user. This is helpful when a third-party assembly wants to keep a private data store.
Storage is isolated first by user and then by domain and assembly. Storage is also isolated by computer. Data can only be accessed within the context of the same application and only when run by the same user. This is helpful when a third-party assembly wants to keep a private data store.
Use of isolated storage is not allowed.
Use of isolated storage is allowed without restriction. Code has full access to any part of the user store, regardless of the identity of the domain or assembly. This use of isolated storage includes the ability to enumerate the contents of the isolated storage data store.
Specifies the allowed usage of a private virtual file system. 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 .
Creates and returns an identical copy of the current permission.
A copy of the current permission.
Creates and returns a permission that is the intersection of the current permission and the specified permission.
A permission to intersect with the current permission object. It must be of the same type as the current permission.
The parameter is not and is not of the same type as the current permission.
A new permission that represents the intersection of the current permission and the specified permission. This new permission is if the intersection is empty.
Determines whether the current permission is a subset of the specified permission.
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 and is not of the same type as the current permission.
if the current permission is a subset of the specified permission; otherwise, .
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 permission to combine with the current permission. It must be of the same type as the current permission.
The parameter is not and is not of the same type as the current permission.
A new permission that represents the union of the current permission and the specified 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.
Creates and returns a new .
An that corresponds to this attribute.
Represents access to generic isolated storage capabilities.
Initializes a new instance of the class with either restricted or unrestricted permission as specified.
One of the values.
The parameter is not a valid value of .
Reconstructs a permission with a specified state from an XML encoding.
The XML encoding to use to reconstruct the permission.
The parameter is .
The parameter is not a valid permission element.
-or-
The parameter's version number is not valid.
Returns a value indicating whether the current permission is unrestricted.
if the current permission is unrestricted; otherwise, .
Creates an XML encoding of the permission and its current state.
An XML encoding of the permission, including any state information.
Gets or sets the type of isolated storage containment allowed.
One of the values.
Gets or sets the quota on the overall size of each user's total store.
The size, in bytes, of the resource allocated to the user.
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.
Gets or sets the level of isolated storage that should be declared.
One of the values.
Gets or sets the maximum user storage quota size.
The maximum user storage quota size in bytes.
Allows a permission to expose an unrestricted state.
Returns a value indicating whether unrestricted access to the resource protected by the permission is allowed.
if unrestricted use of the resource protected by the permission is allowed; otherwise, .
Controls the ability to access key containers. This class cannot be inherited.
Initializes a new instance of the class with the specified access.
A bitwise combination of the values.
is not a valid combination of the values.
Initializes a new instance of the class with the specified global access and specific key container access rights.
A bitwise combination of the values.
An array of objects identifying specific key container access rights.
is not a valid combination of the values.
is .
Initializes a new instance of the class with either restricted or unrestricted permission.
One of the values.
is not a valid value.
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.
A that contains the XML encoding used to reconstruct the permission.
is .
is not a valid permission element.
-or-
The version number of is not supported.
Creates and returns a permission that is the intersection of the current permission and the specified permission.
A permission to intersect with the current permission. It must be the same type as the current permission.
is not and does not specify a permission of the same type as the current permission.
A new permission that represents the intersection of the current permission and the specified permission. This new permission is if the intersection is empty.
Determines whether the current permission is a subset of the specified permission.
A permission to test for the subset relationship. This permission must be the same type as the current permission.
is not and does not specify a permission of the same type as the current permission.
if the current permission is a subset of the specified permission; otherwise, .
Determines whether the current permission is unrestricted.
if the current permission is unrestricted; otherwise, .
Creates an XML encoding of the permission and its current state.
A that contains an XML encoding of the permission, including state information.
Creates a permission that is 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.
is not and does not specify a permission of the same type as the current permission.
A new permission that represents the union of the current permission and the specified permission.
Gets the collection of objects associated with the current permission.
A containing the objects for this .
Gets the key container permission flags that apply to all key containers associated with the permission.
A bitwise combination of the values.
Specifies access rights for specific key containers. This class cannot be inherited.
Initializes a new instance of the class, using the specified cryptographic service provider (CSP) parameters and access permissions.
A object that contains the cryptographic service provider (CSP) parameters.
A bitwise combination of the values.
The resulting entry would have unrestricted access.
Initializes a new instance of the class, using the specified key container name and access permissions.
The name of the key container.
A bitwise combination of the values.
The resulting entry would have unrestricted access.
Initializes a new instance of the class with the specified property values.
The name of the key store.
The name of the provider.
The type code for the provider. See the property for values.
The name of the key container.
The key specification. See the property for values.
A bitwise combination of the values.
The resulting entry would have unrestricted access.
Determines whether the specified object is equal to the current instance.
The object to compare with the current instance.
if the specified is equal to the current object; otherwise, .
Gets a hash code for the current instance that is suitable for use in hashing algorithms and data structures such as a hash table.
A hash code for the current object.
Gets or sets the key container permissions.
A bitwise combination of the values. The default is .
Gets or sets the key container name.
The resulting entry would have unrestricted access.
The name of the key container.
Gets or sets the key specification.
The resulting entry would have unrestricted access.
One of the AT_ values defined in the Wincrypt.h header file.
Gets or sets the name of the key store.
The resulting entry would have unrestricted access.
The name of the key store.
Gets or sets the provider name.
The resulting entry would have unrestricted access.
The name of the provider.
Gets or sets the provider type.
The resulting entry would have unrestricted access.
One of the PROV_ values defined in the Wincrypt.h header file.
Represents a collection of objects. This class cannot be inherited.
Adds a object to the collection.
The object to add.
is .
The index at which the new element was inserted.
Removes all the objects from the collection.
Copies the elements of the to an , starting at a particular index.
The one-dimensional array as the destination for the elements copied from . The array must have zero-based indexing.
The zero-based index in at which copying begins.
Copies the elements of the collection to a compatible one-dimensional array, starting at the specified index of the target array.
The one-dimensional array that is the destination of the elements copied from the current collection.
The index in at which copying begins.
is .
is less than the lower bound of .
is multidimensional.
-or-
The number of elements in the collection is greater than the available space from to the end of the destination .
Returns a object that can be used to iterate through the objects in the collection.
A object that can be used to iterate through the collection.
Gets the index in the collection of the specified object, if it exists in the collection.
The object to locate.
The index of the specified object in the collection, or -1 if no match is found.
Removes the specified object from the collection.
The object to remove.
is .
Returns a object that can be used to iterate through the objects in the collection.
A object that can be used to iterate through the collection.
Gets the number of items in the collection.
The number of objects in the collection.
Gets a value indicating whether the collection is synchronized (thread safe).
in all cases.
Gets the item at the specified index in the collection.
The zero-based index of the element to access.
is greater than or equal to the collection count.
is negative.
The object at the specified index in the collection.
Gets an object that can be used to synchronize access to the collection.
An object that can be used to synchronize access to the collection.
Represents the enumerator for objects in a .
Moves to the next element in the collection.
if the enumerator was successfully advanced to the next element; if the enumerator has passed the end of the collection.
Resets the enumerator to the beginning of the collection.
Gets the current entry in the collection.
The property is accessed before first calling the method. The cursor is located before the first object in the collection.
-or-
The property is accessed after a call to the method returns , which indicates that the cursor is located after the last object in the collection.
The current object in the collection.
Gets the current object in the collection.
The current object in the collection.
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 security action.
One of the values.
Creates and returns a new .
A that corresponds to the attribute.
Gets or sets the key container permissions.
A bitwise combination of the values. The default is .
Gets or sets the name of the key container.
The name of the key container.
Gets or sets the key specification.
One of the AT_ values defined in the Wincrypt.h header file.
Gets or sets the name of the key store.
The name of the key store. The default is "*".
Gets or sets the provider name.
The name of the provider.
Gets or sets the provider type.
One of the PROV_ values defined in the Wincrypt.h header file.
Specifies the type of key container access allowed.
Create, decrypt, delete, and open a key container; export and import a key; sign files using a key; and view and change the access control list for a key container.
Change the access control list (ACL) for a key container.
Create a key container.
Creating a key container also creates a file on disk. It is very important that any key container that is created is removed when it is no longer in use.
Decrypt a key container.
Decryption is a privileged operation because it uses the private key.
Delete a key container.
Deleting a key container can constitute a denial of service attack because it prevents the use of files encrypted or signed with the key. Therefore, deletion is a privileged operation.
Export a key from a key container.
The ability to export a key is potentially harmful because it removes the exclusivity of the key.
Import a key into a key container.The ability to import a key can be as harmful as the ability to delete a container because importing a key into a named key container replaces the existing key.
No access to a key container.
Open a key container and use the public key.
does not give permission to sign or decrypt files using the private key, but it does allow a user to verify file signatures and to encrypt files. Only the owner of the key is able to decrypt these files using the private key.
Sign a file using a key.
The ability to sign a file is potentially harmful because it can allow a user to sign a file using another user's key.
View the access control list (ACL) for a key container.
The describes a set of security permissions that controls the ability for audio, image, and video media to work in a partial-trust Windows Presentation Foundation (WPF) application.
Initializes a new instance of the class.
Initializes a new instance of the class by specifying the audio permission level.
An enumerated value of .
Initializes a new instance of the class by specifying the audio, video, and image permission levels.
An enumerated value of .
An enumerated value of .
An enumerated value of .
Initializes a new instance of the class by specifying the image permission level.
An enumerated value of .
Initializes a new instance of the class by specifying the video permission level.
An enumerated value of .
Initializes a new instance of the class by specifying a permission state.
An enumerated value of .
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.
Creates and returns a permission that is the intersection of the current permission and the specified permission.
A permission to intersect with the current permission. It must be of the same type as the current permission.
The intersection of two permissions is a permission that describes the state that they both describe in common. Only a demand that passes both original permissions will be valid for the intersected permission.
Determines whether the current permission is a subset of the specified permission.
A permission that is to be tested for the subset relationship. This permission must be of the same type as the current permission.
if the current permission is a subset of the specified permission; otherwise, .
Returns a value indicating whether the current permission is unrestricted.
if the audio, image, and video permissions are all unrestricted; otherwise, .
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 permission to combine with the current permission. It must be of the same type as the current permission.
A new permission that represents the union of the current permission and the specified permission.
Gets the current value of the audio permission level.
The audio permission level.
Gets the current value of the image permission level.
The image permission level.
Gets the current value of the video permission level.
The media permission level.
Allows security actions for to be applied to code using declarative security.
Initializes a new instance of .
One of the values.
Creates and returns a new .
A that corresponds to this attribute.
Gets or sets the audio permission level for the .
The state of the .
Gets or sets the image permission level for the .
The state of the .
Gets or sets the video permission level for the .
The state of the .
Specifies the permission level for audio.
Permission that allows unrestricted audio playback.
Permission that denies all audio playback.
Permission that allows safe, limited audio playback, which includes denying stream access to the image file.
Permission that only allows audio playback of files that are located at the application's site of origin.
Specifies the permission level for images.
Permission that allows unrestricted image display.
Permission that denies all images to be displayed.
Permission that allows safe, limited image display, which includes denying stream access to the image file.
Permission that only allows display of images that are located at the application's site of origin.
Specifies the permission level for video.
Permission that allows unrestricted video playback.
Permission that denies all video playback.
Permission that allows safe, limited video playback, which includes denying stream access to the image file.
Permission that only allows video playback of files that are located at the application's site of origin.
Allows security actions for a to be applied to code using declarative security. This class cannot be inherited.
Initializes a new instance of the class with the specified security action.
One of the enumeration values that specifies a security action.
This method is not used.
A null reference ( in Visual Basic) in all cases.
Creates and returns a new permission set based on this permission set attribute object.
A new permission set.
Gets or sets a file containing the XML representation of a custom permission set to be declared.
The physical path to the file containing the XML representation of the permission set.
Gets or sets the hexadecimal representation of the XML encoded permission set.
The hexadecimal representation of the XML encoded permission set.
Gets or sets the name of the permission set.
The name of an immutable (one of several permission sets that are contained in the default policy and cannot be altered).
Gets or sets a value indicating whether the file specified by is Unicode or ASCII encoded.
if the file is Unicode encoded; otherwise, .
Gets or sets the XML representation of a permission set.
The XML representation of a permission set.
Allows checks against the active principal (see ) using the language constructs defined for both declarative and imperative security actions. This class cannot be inherited.
Initializes a new instance of the class with the specified .
One of the values.
The parameter is not a valid .
Initializes a new instance of the class for the specified and .
The name of the 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).
to signify that the user is authenticated; otherwise, .
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 .
Determines whether the specified object is equal to the current .
The object to compare with the current .
if the specified is equal to the current object; otherwise, .
Reconstructs a permission with a specified state from an XML encoding.
The XML encoding to use to reconstruct the permission.
The parameter is .
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 permission to intersect with the current permission. It must be of the same type as the current permission.
The parameter is not and is not an instance of the same class as the current permission.
A new permission that represents the intersection of the current permission and the specified permission. This new permission will be if the intersection is empty.
Determines whether the current permission is a subset of the specified permission.
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.
if the current permission is a subset of the specified permission; otherwise, .
Returns a value indicating whether the current permission is unrestricted.
if the current permission is unrestricted; otherwise, .
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 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.
A new permission that represents the union of the current permission and the specified 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.
Creates and returns a new .
A that corresponds to this attribute.
Gets or sets a value indicating whether the current principal has been authenticated by the underlying role-based security provider.
if the current principal has been authenticated; otherwise, .
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 .
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 .
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 .
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 permission to intersect with the current permission. It must be of the same type as the current permission.
The parameter is not and is not of the same type as the current permission.
A new permission that represents the intersection of the current permission and the specified permission. This new permission is if the intersection is empty.
Determines whether the current permission is a subset of the specified permission.
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 and is not of the same type as the current permission.
if the current permission is a subset of the specified permission; otherwise, .
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 permission to combine with the current permission. It must be of the same type as the current permission.
The parameter is not and is not of the same type as the current permission.
-or-
The two permissions are not equal.
A new permission that represents the union of the current permission and the specified permission.
Gets or sets an Authenticode X.509v3 certificate that represents the identity of the software publisher.
The is .
The is not a valid certificate.
The property cannot be set because the identity is ambiguous.
An X.509 certificate representing the identity of the software publisher.
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.
Creates and returns a new instance of .
A that corresponds to this attribute.
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).
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.
Reconstructs a permission with a specified state from an XML encoding.
The XML encoding to use to reconstruct the permission.
The parameter is .
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 permission to intersect with the current permission. It must be of the same type as the current permission.
The parameter is not and is not of the same type as the current permission.
A new permission that represents the intersection of the current permission and the specified permission. This new permission is if the intersection is empty.
Determines whether the current permission is a subset of the specified permission.
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 and is not of the same type as the current permission.
if the current permission is a subset of the specified permission; otherwise, .
Returns a value indicating whether the current permission is unrestricted.
if the current permission is unrestricted; otherwise, .
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 permission to combine with the current permission. It must be of the same type as the current permission.
The parameter is not and is not of the same type as the current permission.
A new permission that represents the union of the current permission and the specified permission.
Gets or sets the type of reflection allowed for the current permission.
An attempt is made to set this property to an invalid value. See for the valid values.
The set flags for 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.
An attempt is made to set this property to an invalid value. See for the valid values.
One or more of the values combined using a bitwise OR.
Gets or sets a value that indicates whether invocation of operations on non-public members is allowed.
if invocation of operations on non-public members is allowed; otherwise, .
Gets or sets a value that indicates whether use of certain features in , such as emitting debug symbols, is allowed.
if use of the affected features is allowed; otherwise, .
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.
if restricted invocation of non-public members is allowed; otherwise, .
Gets or sets a value that indicates whether reflection on members that are not visible is allowed.
if reflection on members that are not visible is allowed; otherwise, .
Specifies the permitted use of the and namespaces.
, , and 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 .
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 .
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.
A list of the registry variables (semicolon-separated) with the specified .
Creates and returns a permission that is the intersection of the current permission and the specified permission.
A permission to intersect with the current permission. It must be of the same type as the current permission.
The parameter is not and is not of the same type as the current permission.
A new permission that represents the intersection of the current permission and the specified permission. This new permission is if the intersection is empty.
Determines whether the current permission is a subset of the specified permission.
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 and is not of the same type as the current permission.
if the current permission is a subset of the specified permission; otherwise, .
Returns a value indicating whether the current permission is unrestricted.
if the current permission is unrestricted; otherwise, .
Sets new access for the specified registry variable names 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 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 permission to combine with the current permission. It must be of the same type as the current permission.
The parameter is not and is not of the same type as the current permission.
A new permission that represents the union of the current permission and the specified permission.
Specifies the permitted access to registry keys and values.
, , and access to registry variables. represents multiple values and causes an when used as the parameter for the method, which expects a single value.
Create access to registry variables.
No access to registry variables. represents no valid values and causes an when used as the parameter for , which expects a single value.
Read access to registry variables.
Write access to registry variables.
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.
The parameter is not a valid .
Creates and returns a new .
A that corresponds to this attribute.
Gets or sets full access for the specified registry keys.
The get accessor is called; it is only provided for C# compiler compatibility.
A semicolon-separated list of registry key paths, for full access.
Gets or sets change access control for the specified registry keys.
A semicolon-separated list of registry key paths, for change access control. .
Gets or sets create-level access for the specified registry keys.
A semicolon-separated list of registry key paths, for create-level access.
Gets or sets read access for the specified registry keys.
A semicolon-separated list of registry key paths, for read access.
Gets or sets view access control for the specified registry keys.
A semicolon-separated list of registry key paths, for view access control.
Gets or sets a specified set of registry keys that can be viewed and modified.
The get accessor is called; it is only provided for C# compiler compatibility.
A semicolon-separated list of registry key paths, for create, read, and write access.
Gets or sets write access for the specified registry keys.
A semicolon-separated list of registry key paths, for write access.
Allows control of code access security permissions.
Specifies the character to be used to represent the any wildcard character.
Specifies the character to be used to represent a local reference.
Initializes a new instance of the class.
Initializes a new instance of the class with the specified level of access to resources at creation.
One of the values.
The parameter is not a valid value of .
Adds a permission entry to the permission.
The to add.
The specified is .
The number of elements in the property is not equal to the number of elements in the property.
-or-
The is already included in the permission.
Clears the permission of the added permission entries.
Creates and returns an identical copy of the current permission object.
A copy of the current permission object.
Reconstructs a security object with a specified state from an XML encoding.
The XML encoding to use to reconstruct the security object.
The parameter is not a valid permission element.
-or-
The version number of the parameter is not supported.
The parameter is .
Returns an array of the objects added to this permission.
An array of objects that were added to this permission.
Creates and returns a permission object that is the intersection of the current permission object and a target permission object.
A permission object of the same type as the current permission object.
The target permission object is not of the same type as the current permission object.
A new permission object that represents the intersection of the current object and the specified target. This object is if the intersection is empty.
Determines whether the current permission object is a subset of the specified permission.
A permission object that is to be tested for the subset relationship.
if the current permission object is a subset of the specified permission object; otherwise, .
Gets a value indicating whether the permission is unrestricted.
if permission is unrestricted; otherwise, .
Removes a permission entry from the permission.
The to remove.
The specified is .
The number of elements in the property is not equal to the number of elements in the property.
-or-
The is not in the permission.
Creates and returns an XML encoding of the security object and its current state.
An XML encoding of the security object, including any state information.
Creates a permission object that combines the current permission object and the target permission object.
A permission object to combine with the current permission object. It must be of the same type as the current permission object.
The permission object is not of the same type as the current permission object.
A new permission object that represents the union of the current permission object and the specified permission object.
Gets or sets an enumeration value that describes the types of access that you are giving the resource.
The property value is .
The property value is not an enumeration value.
An enumeration value that is derived from and describes the types of access that you are giving the resource.
Gets or sets an array of strings that identify the resource you are protecting.
The property value is .
The length of the array is 0.
An array of strings that identify the resource you are trying to protect.
Defines the smallest unit of a code access security permission set.
Initializes a new instance of the class.
Initializes a new instance of the class with the specified permission access and permission access path.
The integer representation of the permission access level enumeration value. The property is set to this value.
The array of strings that identify the resource you are protecting. The property is set to this value.
The specified is .
Gets an integer representation of the access level enumeration value.
The access level enumeration value.
Gets an array of strings that identify the resource you are protecting.
An array of strings that identify the resource you are protecting.
Describes a set of security permissions applied to code. This class cannot be inherited.
Initializes a new instance of the class with either 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 initial set state of the flags.
The initial state of the permission, represented by a bitwise OR combination of any permission bits defined by .
The parameter is not a valid value of .
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 .
The parameter is not a valid permission element.
-or-
The parameter's version number is not supported.
Creates and returns a permission that is the intersection of the current permission and the specified permission.
A permission to intersect with the current permission. It must be of the same type as the current permission.
The parameter is not and is not of the same type as the current permission.
A new permission object that represents the intersection of the current permission and the specified permission. This new permission is if the intersection is empty.
Determines whether the current permission is a subset of the specified permission.
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 and is not of the same type as the current permission.
if the current permission is a subset of the specified permission; otherwise, .
Returns a value indicating whether the current permission is unrestricted.
if the current permission is unrestricted; otherwise, .
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 permission to combine with the current permission. It must be of the same type as the current permission.
The parameter is not and is not of the same type as the current permission.
A new permission that represents the union of the current permission and the specified permission.
Gets or sets the security permission flags.
An attempt is made to set this property to an invalid value. See for the valid values.
The state of the current permission, represented by a bitwise OR combination of any permission bits defined by .
Defines the identity permission for the Web site from which the code originates. This class cannot be inherited.
Initializes a new instance of the class with the specified .
One of the values.
The parameter is not a valid value of .
Initializes a new instance of the class to represent the specified site identity.
The site name or wildcard expression.
The parameter is not a valid string, or does not match a valid wildcard site name.
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 .
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 permission to intersect with the current permission. It must be of the same type as the current permission.
The parameter is not and is not of the same type as the current permission.
A new permission that represents the intersection of the current permission and the specified permission. This new permission is if the intersection is empty.
Determines whether the current permission is a subset of the specified permission.
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 and is not of the same type as the current permission.
if the current permission is a subset of the specified permission; otherwise, .
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 permission to combine with the current permission. It must be of the same type as the current permission.
The parameter is not and is not of the same type as the current permission.
-or-
The permissions are not equal and one is not a subset of the other.
A new permission that represents the union of the current permission and the specified permission.
Gets or sets the current site.
The site identity cannot be retrieved because it has an ambiguous identity.
The current site.
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.
Creates and returns a new instance of .
A that corresponds to this attribute.
Gets or sets the site name of the calling code.
The site name to compare against the site name specified by the security provider.
Controls access to stores containing X.509 certificates. This class cannot be inherited.
Initializes a new instance of the class with either fully restricted or unrestricted permission state.
One of the values.
is not a valid value.
Initializes a new instance of the class with the specified access.
A bitwise combination of the values.
is not a valid combination of values.
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.
A that contains the XML encoding to use to reconstruct the permission.
is .
is not a valid permission element.
-or-
The version number in is not valid.
Creates and returns a permission that is the intersection of the current permission and the specified permission.
A permission to intersect with the current permission. It must be of the same type as the current permission.
s not and is not of the same type as the current permission.
A new permission that represents the intersection of the current permission and the specified permission. This new permission is if the intersection is empty.
Determines whether the current permission is a subset of the specified permission.
A permission to test for the subset relationship. This permission must be of the same type as the current permission.
is not and is not of the same type as the current permission.
if the current permission is a subset of the specified permission; otherwise, .
Returns a value indicating whether the current permission is unrestricted.
if the current permission is unrestricted; otherwise, .
Creates an XML encoding of the permission and its current state.
A that contains 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 permission to combine with the current permission. It must be of the same type as the current permission.
is not and is not of the same type as the current permission.
A new permission that represents the union of the current permission and the specified permission.
Gets or sets the type of access allowed by the current permission.
An attempt is made to set this property to an invalid value. See for the valid values.
A bitwise combination of the values.
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 security action.
One of the values.
Creates and returns a new .
A that corresponds to the attribute.
Gets or sets a value indicating whether the code is permitted to add to a store.
if the ability to add to a store is allowed; otherwise, .
Gets or sets a value indicating whether the code is permitted to create a store.
if the ability to create a store is allowed; otherwise, .
Gets or sets a value indicating whether the code is permitted to delete a store.
if the ability to delete a store is allowed; otherwise, .
Gets or sets a value indicating whether the code is permitted to enumerate the certificates in a store.
if the ability to enumerate certificates is allowed; otherwise, .
Gets or sets a value indicating whether the code is permitted to enumerate stores.
if the ability to enumerate stores is allowed; otherwise, .
Gets or sets the store permissions.
A bitwise combination of the values. The default is .
Gets or sets a value indicating whether the code is permitted to open a store.
if the ability to open a store is allowed; otherwise, .
Gets or sets a value indicating whether the code is permitted to remove a certificate from a store.
if the ability to remove a certificate from a store is allowed; otherwise, .
Specifies the permitted access to X.509 certificate stores.
The ability to add a certificate to a store.
For security reasons, this ability should be granted only to highly trusted code.
The ability to perform all certificate and store operations.
The ability to create a new store.
New stores are created by calling the method.
The ability to delete a store.
This functionality is not exposed by the class.
The ability to enumerate the certificates in a store.
For privacy reasons, this ability should be granted only to fully trusted code.
The ability to enumerate the stores on a computer.
This functionality is not exposed by the class.
Permission is not given to perform any certificate or store operations.
The ability to open a store.
The ability to open a store does not include the ability to enumerate certificates (which raises privacy concerns) or to add or remove certificates (which raises security concerns).
The ability to remove a certificate from a store.
This ability should be granted only to highly trusted code because removing a certificate can result in a denial of service.
Defines the identity permission for strong names. This class cannot be inherited.
Initializes a new instance of the class with the specified .
One of the values.
The parameter is not a valid value of .
Initializes a new instance of the class for the specified strong name identity.
The public key defining the strong name identity namespace.
The simple name part of the strong name identity. This corresponds to the name of the assembly.
The version number of the identity.
The parameter is .
The parameter is an empty 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 .
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 permission to intersect with the current permission. It must be of the same type as the current permission.
The parameter is not and is not of the same type as the current permission.
A new permission that represents the intersection of the current permission and the specified permission, or if the intersection is empty.
Determines whether the current permission is a subset of the specified permission.
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 and is not of the same type as the current permission.
if the current permission is a subset of the specified permission; otherwise, .
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 permission to combine with the current permission. It must be of the same type as the current permission.
The parameter is not and is not of the same type as the current permission.
-or-
The two permissions are not equal and one is a subset of the other.
A new permission that represents the union of the current permission and the specified permission.
Gets or sets the simple name portion of the strong name identity.
The value is an empty string ("").
The property value cannot be retrieved because it contains an ambiguous identity.
The simple name of the identity.
Gets or sets the public key blob that defines the strong name identity namespace.
The property value is set to .
The property value cannot be retrieved because it contains an ambiguous identity.
A that contains the public key of the identity, or if there is no key.
Gets or sets the version number of the identity.
The property value cannot be retrieved because it contains an ambiguous identity.
The version of the identity.
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.
Creates and returns a new .
The method failed because the key is .
A that corresponds to this attribute.
Gets or sets the name of the strong name identity.
A name to compare against the name specified by the security provider.
Gets or sets the public key value of the strong name identity expressed as a hexadecimal string.
The public key value of the strong name identity expressed as a hexadecimal string.
Gets or sets the version of the strong name identity.
The version number of the strong name identity.
Represents the public key information (called a blob) for a strong name. This class cannot be inherited.
Initializes a new instance of the class with raw bytes of the public key blob.
The array of bytes representing the raw public key data.
The parameter is .
Gets or sets a value indicating whether the current public key blob is equal to the specified public key blob.
An object containing a public key blob.
if the public key blob of the current object is equal to the public key blob of the parameter; otherwise, .
Returns a hash code based on the public key.
The hash code based on the public key.
Creates and returns a string representation of the public key blob.
A hexadecimal version of the public key blob.
Defines partial-trust access to the class.
Initializes a new instance of the class.
The to request. Only and are valid.
is not a valid permission state. Only and are valid.
Initializes a new instance of the class with the specified permission flags.
The permission flags to request.
When implemented by a derived class, creates and returns an identical copy of the current permission object.
A copy of the current permission object.
When overridden in a derived class, reconstructs a security object with a specified state from an XML encoding.
The XML encoding to use to reconstruct the security object.
When implemented by a derived class, creates and returns a permission that is the intersection of the current permission and the specified permission.
A permission to intersect with the current permission. It must be of the same type as the current permission.
A new permission that represents the intersection of the current permission and the specified permission. This new permission is if the intersection is empty.
When implemented by a derived class, determines whether the current permission is a subset of the specified permission.
A permission that is to be tested for the subset relationship. This permission must be of the same type as the current permission.
if the current permission is a subset of the specified permission; otherwise, .
Gets a value that indicates whether the type descriptor may be called from partially trusted code.
if the property is set to ; otherwise, .
When overridden in a derived class, creates an XML encoding of the security object and its current state.
An XML encoding of the security object, including any state information.
When overridden in a derived class, creates a permission that is 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.
A new permission that represents the union of the current permission and the specified permission.
Gets or sets the for the type descriptor.
The for the type descriptor.
Determines the permission flags that apply to a .
Initializes a new instance of the class with the specified .
One of the values.
When overridden in a derived class, creates a permission object that can then be serialized into binary form and persistently stored along with the in an assembly's metadata.
A serializable permission object.
Gets or sets the for the .
The for the .
Gets or sets a value that indicates whether the type descriptor can be accessed from partial trust.
if the type descriptor can be accessed from partial trust; otherwise, .
Defines permission settings for type descriptors.
No permission flags are set on the type descriptor.
The type descriptor may be called from partially trusted code.
Controls the permissions related to user interfaces and the Clipboard. This class cannot be inherited.
Initializes a new instance of the class with either fully restricted or unrestricted access, as specified.
One of the enumeration values.
The parameter is not a valid .
Initializes a new instance of the class with the permissions for the Clipboard, and no access to windows.
One of the enumeration values.
The parameter is not a valid value.
Initializes a new instance of the class with the permissions for windows, and no access to the Clipboard.
One of the enumeration values.
The parameter is not a valid value.
Initializes a new instance of the class with the specified permissions for windows and the Clipboard.
One of the enumeration values.
One of the enumeration values.
The parameter is not a valid value.
-or-
The parameter is not a valid value.
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 used to reconstruct the permission.
The parameter is .
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 permission to intersect with the current permission. It must be the same type as the current permission.
The parameter is not and is not of the same type as the current permission.
A new permission that represents the intersection of the current permission and the specified permission. This new permission is if the intersection is empty.
Determines whether the current permission is a subset of the specified permission.
A permission to test for the subset relationship. This permission must be the same type as the current permission.
The parameter is not and is not of the same type as the current permission.
if the current permission is a subset of the specified permission; otherwise, .
Returns a value indicating whether the current permission is unrestricted.
if the current permission is unrestricted; otherwise, .
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 permission and the specified permission.
A permission to combine with the current permission. It must be the same type as the current permission.
The parameter is not and is not of the same type as the current permission.
A new permission that represents the union of the current permission and the specified permission.
Gets or sets the Clipboard access represented by the permission.
One of the values.
Gets or sets the window access represented by the permission.
One of the values.
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.
Creates and returns a new .
A that corresponds to this attribute.
Gets or sets the type of access to the clipboard that is permitted.
One of the values.
Gets or sets the type of access to the window resources that is permitted.
One of the values.
Specifies the type of clipboard access that is allowed to the calling code.
Clipboard can be used without restriction.
Clipboard cannot be used.
The ability to put data on the clipboard (, ) is unrestricted. Intrinsic controls that accept , such as text box, can accept the clipboard data, but user controls that must programmatically read the clipboard cannot.
Specifies the type of windows that code is allowed to use.
Users can use all windows and user input events without restriction.
Users cannot use any windows or user interface events. No user interface can be used.
Users can only use for drawing, and can only use user input events for user interface within that subwindow. Examples of are a , common dialog controls, and a control displayed within a browser.
Users can only use and for drawing, and can only use user input events for the user interface within those top-level windows and subwindows. See the Remarks section for more information.
Defines the identity permission for the URL from which the code originates. This class cannot be inherited.
Initializes a new instance of the class with the specified .
One of the values.
The parameter is not a valid value of .
Initializes a new instance of the class to represent the URL identity described by .
A URL or wildcard expression.
The parameter is .
The length of the parameter is zero.
The URL, directory, or site portion of the parameter is not valid.
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 .
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 permission to intersect with the current permission. It must be of the same type as the current permission.
The parameter is not and is not of the same type as the current permission.
-or-
The Url property is not a valid URL.
A new permission that represents the intersection of the current permission and the specified permission. This new permission is if the intersection is empty.
Determines whether the current permission is a subset of the specified permission.
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 and is not of the same type as the current permission.
-or-
The Url property is not a valid URL.
if the current permission is a subset of the specified permission; otherwise, .
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 permission to combine with the current permission. It must be of the same type as the current permission.
The parameter is not and is not of the same type as the current permission.
-or-
The property is not a valid URL.
-or-
The two permissions are not equal and one is not a subset of the other.
The operation is ambiguous because the permission represents multiple identities.
A new permission that represents the union of the current permission and the specified permission.
Gets or sets a URL representing the identity of Internet code.
The URL cannot be retrieved because it has an ambiguous identity.
A URL representing the identity of Internet code.
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.
Creates and returns a new .
A that corresponds to this attribute.
Gets or sets the full URL of the calling code.
The URL to match with the URL specified by the host.
The object controls the ability to create the WebBrowser control.
Initializes a new instance of the class.
Initializes a new instance of the class by specifying a permission state.
An enumerated value of .
Initializes a new instance of the class by specifying the Web browser permission level.
An enumerated value of .
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.
Creates and returns a permission that is the intersection of the current permission and the specified permission.
A permission to intersect with the current permission. It must be of the same type as the current permission.
The intersection of two permissions is a permission that describes the state that they both describe in common. Only a demand that passes both original permissions will be valid for the intersected permission.
Determines whether the current permission is a subset of the specified permission.
A permission that is to be tested for the subset relationship. This permission must be of the same type as the current permission.
if the current permission is a subset of the specified permission; otherwise, .
Returns a value indicating whether the current permission is unrestricted.
if the property is set to ; otherwise, .
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 permission to combine with the current permission. It must be of the same type as the current permission.
A new permission that represents the union of the current permission and the specified permission.
Gets or sets the current value of the Web browser permission level.
The current value of the Web browser permission level.
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 instance of the class.
A corresponding to the security declaration.
Gets or sets the current Web browser permission level for the .
The state of the current Web browser permission level.
Specifies the permission level for a Web browser.
A Web browser that cannot navigate frames to HTML.
A Web browser that can safely navigate frames to HTML but with several restrictions.
A Web browser that can navigate without restrictions.
Defines the identity permission for the zone from which the code originates. This class cannot be inherited.
Initializes a new instance of the class with the specified .
One of the values.
The parameter is not a valid value of .
Initializes a new instance of the class to represent the specified zone identity.
The zone identifier.
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 .
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 permission to intersect with the current permission. It must be of the same type as the current permission.
The parameter is not and is not of the same type as the current permission.
A new permission that represents the intersection of the current permission and the specified permission. This new permission is if the intersection is empty.
Determines whether the current permission is a subset of the specified permission.
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 , this permission does not represent the security zone, and the specified permission is not equal to the current permission.
if the current permission is a subset of the specified permission; otherwise, .
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 permission to combine with the current permission. It must be of the same type as the current permission.
The parameter is not and is not of the same type as the current permission.
-or-
The two permissions are not equal and the current permission does not represent the security zone.
A new permission that represents the union of the current permission and the specified permission.
Gets or sets the zone represented by the current .
The parameter value is not a valid value of .
One of the values.
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.
Creates and returns a new .
A that corresponds to this attribute.
Gets or sets membership in the content zone specified by the property value.
One of the values.
Represents a membership condition that matches all code. This class cannot be inherited.
Initializes a new instance of the class.
Determines whether the specified evidence satisfies the membership condition.
The evidence set against which to make the test.
Always .
Creates an equivalent copy of the membership condition.
A new, identical copy of the current membership condition.
Determines whether the specified membership condition is an .
The object to compare to .
if the specified membership condition is an ; otherwise, .
Reconstructs a security object with a specified state from an XML encoding.
The XML encoding to use to reconstruct the security object.
Reconstructs a security object with a specified state from an XML encoding.
The XML encoding to use to reconstruct the security object.
The policy level context used to resolve named permission set references.
The parameter is .
The parameter is not a valid membership condition element.
Gets the hash code for the current membership condition.
The hash code for the current membership condition.
Creates and returns a string representation of the membership condition.
A representation of the membership condition.
Creates an XML encoding of the security object and its current state.
An XML encoding of the security object, including any state information.
Creates an XML encoding of the security object and its current state with the specified .
The policy level context for resolving named permission set references.
An XML encoding of the security object, including any state information.
Provides the application directory as evidence for policy evaluation. This class cannot be inherited.
Initializes a new instance of the class.
The path of the application directory.
The parameter is .
Creates a new copy of the .
A new, identical copy of the .
Determines whether instances of the same type of an evidence object are equivalent.
An object of same type as the current evidence object.
if the two instances are equivalent; otherwise, .
Gets the hash code of the current application directory.
The hash code of the current application directory.
Gets a string representation of the state of the evidence object.
A representation of the state of the evidence object.
Gets the path of the application directory.
The path of the application directory.
Determines whether an assembly belongs to a code group by testing its application directory. This class cannot be inherited.
Initializes a new instance of the class.
Determines whether the membership condition is satisfied by the specified evidence.
The evidence set against which to make the test.
if the specified evidence satisfies the membership condition; otherwise, .
Creates an equivalent copy of the membership condition.
A new, identical copy of the current membership condition.
Determines whether the specified membership condition is an .
The object to compare to .
if the specified membership condition is an ; otherwise, .
Reconstructs a security object with a specified state from an XML encoding.
The XML encoding to use to reconstruct the security object.
The parameter is .
The parameter is not a valid application directory membership condition element.
Reconstructs a security object with a specified state from an XML encoding.
The XML encoding to use to reconstruct the security object.
The policy level context, used to resolve named permission set references.
The parameter is .
The parameter is not a valid application directory membership condition element.
Gets the hash code for the current membership condition.
The hash code for the current membership condition.
Creates and returns a string representation of the membership condition.
A string representation of the state of the membership condition.
Creates an XML encoding of the security object and its current state.
An XML encoding of the security object, including any state information.
Creates an XML encoding of the security object and its current state with the specified .
The policy level context for resolving named permission set references.
An XML encoding of the security object, including any state information.
Encapsulates security decisions about an application. This class cannot be inherited.
Initializes a new instance of the class.
Initializes a new instance of the class with an .
An that uniquely identifies an application.
Initializes a new instance of the class using the provided grant set and collection of full-trust assemblies.
A default permission set that is granted to all assemblies that do not have specific grants.
An array of strong names that represent assemblies that should be considered fully trusted in an application domain.
is .
contains an assembly that does not have a .
Reconstructs an object with a given state from an XML encoding.
The XML encoding to use to reconstruct the object.
is .
The XML encoding used for is invalid.
Creates an XML encoding of the object and its current state.
An XML encoding of the security object, including any state information.
Gets or sets the application identity for the application trust object.
cannot be set because it has a value of .
An for the application trust object.
Gets or sets the policy statement defining the default grant set.
A describing the default grants.
Gets or sets extra security information about the application.
An object containing additional security information about the application.
Gets the list of full-trust assemblies for this application trust.
A list of full-trust assemblies.
Gets or sets a value indicating whether the application has the required permission grants and is trusted to run.
if the application is trusted to run; otherwise, . The default is .
Gets or sets a value indicating whether application trust information is persisted.
if application trust information is persisted; otherwise, . The default is .
Represents a collection of objects. This class cannot be inherited.
Adds an element to the collection.
The object to add.
is .
The property of the specified in is .
The index at which the new element was inserted.
Copies the elements of the specified array to the end of the collection.
An array of type containing the objects to add to the collection.
is .
The property of an specified in is .
Copies the elements of the specified to the end of the collection.
A containing the objects to add to the collection.
is .
The property of an specified in is .
Removes all the application trusts from the collection.
The property of an item in the collection is .
Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array.
The one-dimensional array of type that is the destination of the elements copied from the current collection.
The zero-based index in at which copying begins.
is .
is less than the lower bound of .
is multidimensional.
-or-
The number of elements in the is greater than the available space from to the end of the destination .
Gets the application trusts in the collection that match the specified application identity.
An object describing the application to find.
One of the values.
An containing all matching objects.
Returns an object that can be used to iterate over the collection.
An that can be used to iterate over the collection.
Removes all application trust objects that match the specified criteria from the collection.
The of the object to be removed.
One of the values.
Removes the specified application trust from the collection.
The object to remove.
is .
The property of the object specified by is .
Removes the application trust objects in the specified array from the collection.
A one-dimensional array of type that contains items to be removed from the current collection.
is .
Removes the application trust objects in the specified collection from the collection.
An that contains items to be removed from the current collection.
is .
Copies the elements of the to the specified , starting at the specified index.
The one-dimensional that is the destination of the elements copied from the . The must have zero-based indexing.
The zero-based index in at which copying begins.
is .
is less than zero.
is multidimensional.
-or-
The number of elements in the source is greater than the available space from to the end of the destination .
Returns an enumerator that iterates through the collection.
An that can be used to iterate through the collection.
Gets the number of items contained in the collection.
The number of items contained in the collection.
Gets a value indicating whether access to the collection is synchronized (thread safe).
in all cases.
Gets the object located at the specified index in the collection.
The zero-based index of the object within the collection.
is greater than or equal to the count of objects in the collection.
is negative.
The object at the specified index in the collection.
Gets the object for the specified application.
The full name of the application.
The object for the specified application, or if the object cannot be found.
Gets an object that can be used to synchronize access to the collection.
The object to use to synchronize access to the collection.
Represents the enumerator for objects in the collection.
Moves to the next element in the collection.
if the enumerator was successfully advanced to the next element; if the enumerator has passed the end of the collection.
Resets the enumerator to the beginning of the collection.
Gets the current object in the collection.
The current in the .
Gets the current in the collection.
The current in the .
Specifies how to match versions when locating application trusts in a collection.
Match on all versions.
Match on the exact version.
Specifies the network resource access that is granted to code.
Contains the string value that represents the scheme wildcard.
Contains the value used to represent the default port.
Contains the value used to represent the port value in the URI where code originated.
Contains the value used to represent the scheme in the URL where the code originated.
Initializes a new instance of the class.
The URI scheme represented by the current instance.
The port represented by the current instance.
is .
-or-
is an empty string ("").
-or-
contains characters that are not permitted in schemes.
-or-
is less than 0.
-or-
is greater than 65,535.
Returns a instance that represents access to the specified port using any scheme.
The port represented by the returned instance.
is less than 0.
-or-
is greater than 65,535.
A instance for the specified port.
Returns a instance that represents access to the specified port using the code's scheme of origin.
The port represented by the returned instance.
is less than 0.
-or-
is greater than 65,535.
A instance for the specified port.
Returns a value indicating whether two objects represent the same scheme and port.
The object to compare to the current object.
if the two objects represent the same scheme and port; otherwise, .
Serves as a hash function for a particular type.
A hash code for the current .
Gets the port represented by the current instance.
A value that identifies a computer port used in conjunction with the property.
Gets the URI scheme represented by the current instance.
A that identifies a URI scheme, converted to lowercase.
Represents the abstract base class from which all implementations of code groups must derive.
Initializes a new instance of .
A membership condition that tests evidence to determine whether this code group applies policy.
The policy statement for the code group in the form of a permission set and attributes to grant code that matches the membership condition.
The parameter is .
The type of the parameter is not valid.
-or-
The type of the parameter is not valid.
Adds a child code group to the current code group.
The code group to be added as a child. This new child code group is added to the end of the list.
The parameter is .
The parameter is not a valid code group.
When overridden in a derived class, makes a deep copy of the current code group.
An equivalent copy of the current code group, including its membership conditions and child code groups.
When overridden in a derived class, serializes properties and internal state specific to a derived code group and adds the serialization to the specified .
The XML encoding to which to add the serialization.
The policy level within which the code group exists.
Determines whether the specified code group is equivalent to the current code group.
The code group to compare with the current code group.
if the specified code group is equivalent to the current code group; otherwise, .
Determines whether the specified code group is equivalent to the current code group, checking the child code groups as well, if specified.
The code group to compare with the current code group.
to compare child code groups, as well; otherwise, .
if the specified code group is equivalent to the current code group; otherwise, .
Reconstructs a security object with a given state from an XML encoding.
The XML encoding to use to reconstruct the security object.
The parameter is .
Reconstructs a security object with a given state and policy level from an XML encoding.
The XML encoding to use to reconstruct the security object.
The policy level within which the code group exists.
The parameter is .
Gets the hash code of the current code group.
The hash code of the current code group.
When overridden in a derived class, reconstructs properties and internal state specific to a derived code group from the specified .
The XML encoding to use to reconstruct the security object.
The policy level within which the code group exists.
Removes the specified child code group.
The code group to be removed as a child.
The parameter is not an immediate child code group of the current code group.
When overridden in a derived class, resolves policy for the code group and its descendants for a set of evidence.
The evidence for the assembly.
A policy statement that consists of the permissions granted by the code group with optional attributes, or if the code group does not apply (the membership condition does not match the specified evidence).
When overridden in a derived class, resolves matching code groups.
The evidence for the assembly.
A that is the root of the tree of matching code groups.
Creates an XML encoding of the security object and its current state.
An XML encoding of the security object, including any state information.
Creates an XML encoding of the security object, its current state, and the policy level within which the code exists.
The policy level within which the code group exists.
An XML encoding of the security object, including any state information.
Gets a string representation of the attributes of the policy statement for the code group.
A string representation of the attributes of the policy statement for the code group.
Gets or sets an ordered list of the child code groups of a code group.
An attempt is made to set this property to .
An attempt is made to set this property with a list of children that are not objects.
A list of child code groups.
Gets or sets the description of the code group.
The description of the code group.
Gets or sets the code group's membership condition.
An attempt is made to set this parameter to .
The membership condition that determines to which evidence the code group is applicable.
When overridden in a derived class, gets the merge logic for the code group.
A description of the merge logic for the code group.
Gets or sets the name of the code group.
The name of the code group.
Gets the name of the named permission set for the code group.
The name of a named permission set of the policy level.
Gets or sets the policy statement associated with the code group.
The policy statement for the code group.
Defines the set of information that constitutes input to security policy decisions. This class cannot be inherited.
Initializes a new empty instance of the class.
Initializes a new instance of the class from multiple sets of host and assembly evidence.
The host evidence from which to create the new instance.
The assembly evidence from which to create the new instance.
Initializes a new instance of the class from a shallow copy of an existing one.
The instance from which to create the new instance. This instance is not deep-copied.
The parameter is not a valid instance of .
Initializes a new instance of the class from multiple sets of host and assembly evidence.
The host evidence from which to create the new instance.
The assembly evidence from which to create the new instance.
Adds the specified assembly evidence to the evidence set.
Any evidence object.
is null.
is not serializable.
Adds an evidence object of the specified type to the assembly-supplied evidence list.
The assembly evidence to add.
The type of the object in .
is .
Evidence of type is already in the list.
is not serializable.
Adds the specified evidence supplied by the host to the evidence set.
Any evidence object.
is null.
is not serializable.
Adds host evidence of the specified type to the host evidence collection.
The host evidence to add.
The type of the object in .
is .
Evidence of type is already in the list.
Removes the host and assembly evidence from the evidence set.
Returns a duplicate copy of this evidence object.
A duplicate copy of this evidence object.
Copies evidence objects to an .
The target array to which to copy evidence objects.
The zero-based position in the array to which to begin copying evidence objects.
is null.
is outside the range of the target array.
Enumerates evidence provided by the assembly.
An enumerator for evidence added by the method.
Gets assembly evidence of the specified type from the collection.
The type of the evidence to get.
Evidence of type in the assembly evidence collection.
Enumerates all evidence in the set, both that provided by the host and that provided by the assembly.
An enumerator for evidence added by both the method and the method.
Enumerates evidence supplied by the host.
An enumerator for evidence added by the method.
Gets host evidence of the specified type from the collection.
The type of the evidence to get.
Evidence of type in the host evidence collection.
Merges the specified evidence set into the current evidence set.
The evidence set to be merged into the current evidence set.
The parameter is not a valid instance of .
is , the code that calls this method does not have , and the parameter has a host list that is not empty.
Removes the evidence for a given type from the host and assembly enumerations.
The type of the evidence to be removed.
is null.
Gets the number of evidence objects in the evidence set.
The number of evidence objects in the evidence set.
Gets a value indicating whether the evidence set is read-only.
Always , because read-only evidence sets are not supported.
Gets a value indicating whether the evidence set is thread-safe.
Always because thread-safe evidence sets are not supported.
Gets or sets a value indicating whether the evidence is locked.
if the evidence is locked; otherwise, . The default is .
Gets the synchronization root.
Always ( in Visual Basic), because synchronization of evidence sets is not supported.
Provides a base class from which all objects to be used as evidence must derive.
Initializes a new instance of the class.
An object to be used as evidence is not serializable.
Creates a new object that is a complete copy of the current instance.
A duplicate copy of this evidence object.
Grants permission to manipulate files located in the code assemblies to code assemblies that match the membership condition. This class cannot be inherited.
Initializes a new instance of the class.
A membership condition that tests evidence to determine whether this code group applies policy.
One of the values. This value is used to construct the that is granted.
The parameter is .
The type of the parameter is not valid.
-or-
The type of the parameter is not valid.
Makes a deep copy of the current code group.
An equivalent copy of the current code group, including its membership conditions and child code groups.
Determines whether the specified code group is equivalent to the current code group.
The code group to compare with the current code group.
if the specified code group is equivalent to the current code group; otherwise, .
Gets the hash code of the current code group.
The hash code of the current code group.
Resolves policy for the code group and its descendants for a set of evidence.
The evidence for the assembly.
The parameter is .
The current policy is .
-or-
More than one code group (including the parent code group and all child code groups) is marked .
A policy statement consisting of the permissions granted by the code group with optional attributes, or if the code group does not apply (the membership condition does not match the specified evidence).
Resolves matching code groups.
The evidence for the assembly.
The parameter is .
A that is the root of the tree of matching code groups.
Gets a string representation of the attributes of the policy statement for the code group.
Always .
Gets the merge logic.
The string "Union".
Gets the name of the named permission set for the code group.
The concatenation of the string "Same directory FileIO - " and the access type.
Allows security policy to be defined by the union of the policy statement of a code group and that of the first child code group that matches. This class cannot be inherited.
Initializes a new instance of the class.
A membership condition that tests evidence to determine whether this code group applies policy.
The policy statement for the code group in the form of a permission set and attributes to grant code that matches the membership condition.
The type of the parameter is not valid.
-or-
The type of the parameter is not valid.
Makes a deep copy of the code group.
An equivalent copy of the code group, including its membership conditions and child code groups.
Resolves policy for the code group and its descendants for a set of evidence.
The evidence for the assembly.
The parameter is .
More than one code group (including the parent code group and any child code groups) is marked .
A policy statement consisting of the permissions granted by the code group with optional attributes, or if the code group does not apply (the membership condition does not match the specified evidence).
Resolves matching code groups.
The evidence for the assembly.
The parameter is .
A that is the root of the tree of matching code groups.
Gets the merge logic.
The string "First Match".
Confirms that a code assembly originates in the global assembly cache (GAC) as evidence for policy evaluation. This class cannot be inherited.
Initializes a new instance of the class.
Creates an equivalent copy of the current object.
An equivalent copy of .
Creates a new identity permission that corresponds to the current object.
The from which to construct the identity permission.
A new identity permission that corresponds to the current object.
Indicates whether the current object is equivalent to the specified object.
The object to compare with the current object.
if is a object; otherwise, .
Returns a hash code for the current object.
A hash code for the current object.
Returns a string representation of the current object.
A string representation of the current object.
Determines whether an assembly belongs to a code group by testing its global assembly cache membership. This class cannot be inherited.
Initializes a new instance of the class.
Indicates whether the specified evidence satisfies the membership condition.
The against which to make the test.
if the specified evidence satisfies the membership condition; otherwise, .
Creates an equivalent copy of the membership condition.
A new object.
Indicates whether the current object is equivalent to the specified object.
The object to compare with the current object.
if is a ; otherwise, .
Uses the specified XML encoding to reconstruct a security object.
The that contains the XML encoding to use to reconstruct the security object.
is .
is not a valid membership condition element.
Uses the specified XML encoding to reconstruct a security object, using the specified policy level context.
The that contains the XML encoding to use to reconstruct the security object.
The context for resolving references.
is .
is not a valid membership condition element.
Gets a hash code for the current membership condition.
0 (zero).
Returns a string representation of the membership condition.
A string representation of the membership condition.
Creates an XML encoding of the security object and its current state.
A that contains the XML encoding of the security object, including any state information.
Creates an XML encoding of the security object and its current state, using the specified policy level context.
The context for resolving references.
A that contains the XML encoding of the security object, including any state information.
Provides evidence about the hash value for an assembly. This class cannot be inherited.
Initializes a new instance of the class.
The assembly for which to compute the hash value.
The parameter is .
is not a run-time object.
Creates a object that contains an hash value.
A byte array that contains an hash value.
The parameter is .
An object that contains the hash value provided by the parameter.
Creates a object that contains a hash value.
A byte array that contains a hash value.
The parameter is .
An object that contains the hash value provided by the parameter.
Creates a object that contains a hash value.
A byte array that contains a hash value.
The parameter is .
A hash object that contains the hash value provided by the parameter.
Computes the hash value for the assembly using the specified hash algorithm.
The hash algorithm to use to compute the hash value for the assembly.
The parameter is .
The hash value for the assembly cannot be generated.
A byte array that represents the hash value for the assembly.
Gets the object with the parameter name and additional exception information.
The object that holds the serialized object data.
The contextual information about the source or destination.
Returns a string representation of the current .
A representation of the current .
Gets the hash value for the assembly.
A byte array that represents the hash value for the assembly.
Gets the hash value for the assembly.
A byte array that represents the hash value for the assembly.
Gets the hash value for the assembly.
A byte array that represents the hash value for the assembly.
Determines whether an assembly belongs to a code group by testing its hash value. This class cannot be inherited.
Initializes a new instance of the class with the hash algorithm and hash value that determine membership.
The hash algorithm to use to compute the hash value for the assembly.
The hash value for which to test.
The parameter is .
-or-
The parameter is .
The parameter is not a valid hash algorithm.
Determines whether the specified evidence satisfies the membership condition.
The evidence set against which to make the test.
if the specified evidence satisfies the membership condition; otherwise, .
Creates an equivalent copy of the membership condition.
A new, identical copy of the current membership condition.
Determines whether the and the from the specified object are equivalent to the and contained in the current .
The object to compare to the current .
if the and from the specified object is equivalent to the and contained in the current ; otherwise, .
Reconstructs a security object with a specified state from an XML encoding.
The XML encoding to use to reconstruct the security object.
Reconstructs a security object with a specified state from an XML encoding.
The XML encoding to use to reconstruct the security object.
The policy level context, used to resolve named permission set references.
The parameter is .
The parameter is not a valid membership condition element.
Gets the hash code for the current membership condition.
The hash code for the current membership condition.
Runs when the entire object graph has been deserialized.
The object that initiated the callback. The functionality for this parameter is not currently implemented.
Populates a with the data needed to serialize the target object.
The to populate with data.
The destination for this serialization.
Creates and returns a string representation of the membership condition.
A string representation of the state of the membership condition.
Creates an XML encoding of the security object and its current state.
An XML encoding of the security object, including any state information.
Creates an XML encoding of the security object and its current state with the specified .
The policy level context for resolving named permission set references.
An XML encoding of the security object, including any state information.
Gets or sets the hash algorithm to use for the membership condition.
An attempt is made to set to .
The hash algorithm to use for the membership condition.
Gets or sets the hash value for which the membership condition tests.
An attempt is made to set to .
The hash value for which the membership condition tests.
Defines the method that creates a new identity permission.
Creates a new identity permission for the specified evidence.
The evidence from which to create the new identity permission.
The new identity permission.
Defines the test to determine whether a code assembly is a member of a code group.
Determines whether the specified evidence satisfies the membership condition.
The evidence set against which to make the test.
if the specified evidence satisfies the membership condition; otherwise, .
Creates an equivalent copy of the membership condition.
A new, identical copy of the current membership condition.
Determines whether the specified is equal to the current .
The to compare with the current .
if the specified is equal to the current ; otherwise, .
Creates and returns a string representation of the membership condition.
A string representation of the state of the current membership condition.
Grants Web permission to the site from which the assembly was downloaded. This class cannot be inherited.
Contains a value used to specify connection access for code with an unknown or unrecognized origin scheme.
Contains a value used to specify any other unspecified origin scheme.
Initializes a new instance of the class.
A membership condition that tests evidence to determine whether this code group applies code access security policy.
The parameter is .
The type of the parameter is not valid.
Adds the specified connection access to the current code group.
A containing the scheme to match against the code's scheme.
A that specifies the scheme and port code can use to connect back to its origin server.
is .
contains characters that are not permitted in schemes.
-or-
= and specifies as its scheme.
Makes a deep copy of the current code group.
An equivalent copy of the current code group, including its membership conditions and child code groups.
Determines whether the specified code group is equivalent to the current code group.
The object to compare with the current code group.
if the specified code group is equivalent to the current code group; otherwise, .
Gets the connection access information for the current code group.
A array containing connection access information.
Gets the hash code of the current code group.
The hash code of the current code group.
Removes all connection access information for the current code group.
Resolves policy for the code group and its descendants for a set of evidence.
The for the assembly.
The parameter is .
More than one code group (including the parent code group and any child code groups) is marked .
A that consists of the permissions granted by the code group with optional attributes, or if the code group does not apply (the membership condition does not match the specified evidence).
Resolves matching code groups.
The evidence for the assembly.
The parameter is .
The complete set of code groups that were matched by the evidence.
Gets a string representation of the attributes of the policy statement for the code group.
Always .
Gets the logic to use for merging groups.
The string "Union".
Gets the name of the for the code group.
Always the string "Same site Web."
Defines evidence that represents permission requests. This class cannot be inherited.
Initializes a new instance of the class with the permission request of a code assembly.
The minimum permissions the code requires to run.
The permissions the code can use if they are granted, but that are not required.
The permissions the code explicitly asks not to be granted.
Creates an equivalent copy of the current .
An equivalent copy of the current .
Gets a string representation of the state of the .
A representation of the state of the .
Gets the permissions the code explicitly asks not to be granted.
The permissions the code explicitly asks not to be granted.
Gets the permissions the code can use if they are granted, but are not required.
The permissions the code can use if they are granted, but are not required.
Gets the minimum permissions the code requires to run.
The minimum permissions the code requires to run.
The exception that is thrown when policy forbids code to run.
Initializes a new instance of the class with default properties.
Initializes a new instance of the class with serialized data.
The object that holds the serialized object data.
The contextual information about the source or destination.
Initializes a new instance of the class with a specified error message.
The error message that explains the reason for the exception.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
Represents the security policy levels for the common language runtime. This class cannot be inherited.
Adds a corresponding to the specified to the list of objects used to determine whether an assembly is a member of the group of assemblies that should not be evaluated.
The used to create the to add to the list of objects used to determine whether an assembly is a member of the group of assemblies that should not be evaluated.
The parameter is .
The specified by the parameter already has full trust.
Adds the specified to the list of objects used to determine whether an assembly is a member of the group of assemblies that should not be evaluated.
The to add to the list of objects used to determine whether an assembly is a member of the group of assemblies that should not be evaluated.
The parameter is .
The specified by the parameter already has full trust.
Adds a to the current policy level.
The to add to the current policy level.
The parameter is .
The parameter has the same name as an existing in the .
Replaces a in the current policy level with the specified .
The name of the to replace.
The that replaces the specified by the parameter.
The parameter is .
-or-
The parameter is .
The parameter is equal to the name of a reserved permission set.
-or-
The specified by the parameter cannot be found.
A copy of the that was replaced.
Creates a new policy level for use at the application domain policy level.
The newly created .
Reconstructs a security object with a given state from an XML encoding.
The XML encoding to use to reconstruct the security object.
The parameter is .
The specified by the parameter is invalid.
Returns the in the current policy level with the specified name.
The name of the to find.
The parameter is .
The in the current policy level with the specified name, if found; otherwise, .
Replaces the configuration file for this with the last backup (reflecting the state of policy prior to the last time it was saved) and returns it to the state of the last save.
The policy level does not have a valid configuration file.
Removes an assembly with the specified from the list of assemblies the policy level uses to evaluate policy.
The of the assembly to remove from the list of assemblies used to evaluate policy.
The parameter is .
The assembly with the specified by the parameter does not have full trust.
Removes an assembly with the specified from the list of assemblies the policy level uses to evaluate policy.
The of the assembly to remove from the list of assemblies used to evaluate policy.
The parameter is .
The specified by the parameter does not have full trust.
Removes the specified from the current policy level.
The to remove from the current policy level.
The specified by the parameter was not found.
The parameter is .
The that was removed.
Removes the with the specified name from the current policy level.
The name of the to remove.
The parameter is equal to the name of a reserved permission set.
-or-
A with the specified name cannot be found.
The parameter is .
The that was removed.
Returns the current policy level to the default state.
Resolves policy based on evidence for the policy level, and returns the resulting .
The used to resolve the .
The policy level contains multiple matching code groups marked as exclusive.
The parameter is .
The resulting .
Resolves policy at the policy level and returns the root of a code group tree that matches the evidence.
The used to resolve policy.
The policy level contains multiple matching code groups marked as exclusive.
The parameter is .
A representing the root of a tree of code groups matching the specified evidence.
Creates an XML encoding of the security object and its current state.
An XML encoding of the security object, including any state information.
Gets a list of objects used to determine whether an assembly is a member of the group of assemblies used to evaluate security policy.
A list of objects used to determine whether an assembly is a member of the group of assemblies used to evaluate security policy. These assemblies are granted full trust during security policy evaluation of assemblies not in the list.
Gets a descriptive label for the policy level.
The label associated with the policy level.
Gets a list of named permission sets defined for the policy level.
A list of named permission sets defined for the policy level.
Gets or sets the root code group for the policy level.
The value for is .
The that is the root of the tree of policy level code groups.
Gets the path where the policy file is stored.
The path where the policy file is stored, or if the does not have a storage location.
Gets the type of the policy level.
One of the values.
Represents the statement of a describing the permissions and other information that apply to code with a particular set of evidence. This class cannot be inherited.
Initializes a new instance of the class with the specified .
The with which to initialize the new instance.
Initializes a new instance of the class with the specified and attributes.
The with which to initialize the new instance.
A bitwise combination of the values.
Creates an equivalent copy of the current policy statement.
A new copy of the with and identical to those of the current .
Determines whether the specified object is equal to the current .
The object to compare with the current .
if the specified is equal to the current object; otherwise, .
Reconstructs a security object with a given state from an XML encoding.
The XML encoding to use to reconstruct the security object.
The parameter is .
The parameter is not a valid encoding.
Reconstructs a security object with a given state from an XML encoding.
The XML encoding to use to reconstruct the security object.
The context for lookup of values.
The parameter is .
The parameter is not a valid encoding.
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 an XML encoding of the security object and its current state.
An XML encoding of the security object, including any state information.
Creates an XML encoding of the security object and its current state.
The context for lookup of values.
An XML encoding of the security object, including any state information.
Gets or sets the attributes of the policy statement.
The attributes of the policy statement.
Gets a string representation of the attributes of the policy statement.
A text string representing the attributes of the policy statement.
Gets or sets the of the policy statement.
The of the policy statement.
Defines special attribute flags for security policy on code groups.
All attribute flags are set.
The exclusive code group flag. When a code group has this flag set, only the permissions associated with that code group are granted to code belonging to the code group. At most, one code group matching a given piece of code can be set as exclusive.
The flag representing a policy statement that causes lower policy levels to not be evaluated as part of the resolve operation, effectively allowing the policy level to override lower levels.
No flags are set.
Provides the Authenticode X.509v3 digital signature of a code assembly as evidence for policy evaluation. This class cannot be inherited.
Initializes a new instance of the class with the Authenticode X.509v3 certificate containing the publisher's public key.
An that contains the software publisher's public key.
The parameter is .
Creates an equivalent copy of the .
A new, identical copy of the .
Creates an identity permission that corresponds to the current instance of the class.
The from which to construct the identity permission.
A for the specified .
Compares the current to the specified object for equivalence.
The to test for equivalence with the current object.
The parameter is not a object.
if the two instances of the class are equal; otherwise, .
Gets the hash code of the current .
The hash code of the current .
Returns a string representation of the current .
A representation of the current .
Gets the publisher's Authenticode X.509v3 certificate.
The publisher's .
Determines whether an assembly belongs to a code group by testing its software publisher's Authenticode X.509v3 certificate. This class cannot be inherited.
Initializes a new instance of the class with the Authenticode X.509v3 certificate that determines membership.
An that contains the software publisher's public key.
The parameter is .
Determines whether the specified evidence satisfies the membership condition.
The against which to make the test.
The property is .
if the specified evidence satisfies the membership condition; otherwise, .
Creates an equivalent copy of the membership condition.
The property is .
A new, identical copy of the current membership condition.
Determines whether the publisher certificate from the specified object is equivalent to the publisher certificate contained in the current .
The object to compare to the current .
The property is .
if the publisher certificate from the specified object is equivalent to the publisher certificate contained in the current ; otherwise, .
Reconstructs a security object with a specified state from an XML encoding.
The XML encoding to use to reconstruct the security object.
The parameter is .
The parameter is not a valid membership condition element.
Reconstructs a security object with a specified state from an XML encoding.
The XML encoding to use to reconstruct the security object.
The context, used to resolve references.
The parameter is .
The parameter is not a valid membership condition element.
Gets the hash code for the current membership condition.
The property is .
The hash code for the current membership condition.
Creates and returns a string representation of the .
The property is .
A representation of the .
Creates an XML encoding of the security object and its current state.
The property is .
An XML encoding of the security object, including any state information.
Creates an XML encoding of the security object and its current state with the specified .
The context, which is used to resolve references.
The property is .
An XML encoding of the security object, including any state information.
Gets or sets the Authenticode X.509v3 certificate for which the membership condition tests.
The property value is .
The for which the membership condition tests.
Provides the Web site from which a code assembly originates as evidence for policy evaluation. This class cannot be inherited.
Initializes a new instance of the class with the website from which a code assembly originates.
The website of origin for the associated code assembly.
The parameter is .
Creates an equivalent copy of the object.
A new object that is identical to the current object.
Creates a new object from the specified URL.
The URL from which to create the new object.
The parameter is not a valid URL.
-or-
The parameter is a file name.
A new site object.
Creates an identity permission that corresponds to the current object.
The evidence from which to construct the identity permission.
A site identity permission for the current object.
Compares the current to the specified object for equivalence.
The object to test for equivalence with the current object.
if the two instances of the class are equal; otherwise, .
Returns the hash code of the current website name.
The hash code of the current website name.
Returns a string representation of the current object.
A representation of the current site.
Gets the website from which the code assembly originates.
The name of the website from which the code assembly originates.
Determines whether an assembly belongs to a code group by testing the site from which it originated. This class cannot be inherited.
Initializes a new instance of the class with name of the site that determines membership.
The site name or wildcard expression.
The parameter is .
The parameter is not a valid .
Determines whether the specified evidence satisfies the membership condition.
The against which to make the test.
The property is .
if the specified evidence satisfies the membership condition; otherwise, .
Creates an equivalent copy of the membership condition.
The property is .
A new, identical copy of the current membership condition.
Determines whether the site from the specified object is equivalent to the site contained in the current .
The object to compare to the current .
The property for the current object or the specified object is .
if the site from the specified object is equivalent to the site contained in the current ; otherwise, .
Reconstructs a security object with a specified state from an XML encoding.
The XML encoding to use to reconstruct the security object.
The parameter is .
The parameter is not a valid membership condition element.
Reconstructs a security object with a specified state from an XML encoding.
The XML encoding to use to reconstruct the security object.
The context, used to resolve references.
The parameter is .
The parameter is not a valid membership condition element.
Gets the hash code for the current membership condition.
The property is .
The hash code for the current membership condition.
Creates and returns a string representation of the membership condition.
The property is .
A string representation of the membership condition.
Creates an XML encoding of the security object and its current state.
The property is .
An XML encoding of the security object, including any state information.
Creates an XML encoding of the security object and its current state with the specified .
The context, used to resolve references.
The property is .
An XML encoding of the security object, including any state information.
Gets or sets the site for which the membership condition tests.
An attempt is made to set to .
An attempt is made to set to an invalid .
The site for which the membership condition tests.
Provides the strong name of a code assembly as evidence for policy evaluation. This class cannot be inherited.
Initializes a new instance of the class with the strong name public key blob, name, and version.
The of the software publisher.
The simple name section of the strong name.
The of the strong name.
The parameter is .
-or-
The parameter is .
-or-
The parameter is .
The parameter is an empty string ("").
Creates an equivalent copy of the current .
A new, identical copy of the current .
Creates a that corresponds to the current .
The from which to construct the .
A for the specified .
Determines whether the specified strong name is equal to the current strong name.
The strong name to compare against the current strong name.
if the specified strong name is equal to the current strong name; otherwise, .
Gets the hash code of the current .
The hash code of the current .
Creates a string representation of the current .
A representation of the current .
Gets the simple name of the current .
The simple name part of the .
Gets the of the current .
The of the current .
Gets the of the current .
The of the current .
Determines whether an assembly belongs to a code group by testing its strong name. This class cannot be inherited.
Initializes a new instance of the class with the strong name public key blob, name, and version number that determine membership.
The strong name public key blob of the software publisher.
The simple name section of the strong name.
The version number of the strong name.
The parameter is .
The parameter is .
-or-
The parameter is an empty string ("").
Determines whether the specified evidence satisfies the membership condition.
The against which to make the test.
if the specified evidence satisfies the membership condition; otherwise, .
Creates an equivalent copy of the current .
A new, identical copy of the current
Determines whether the from the specified object is equivalent to the contained in the current .
The object to compare to the current .
The property of the current object or the specified object is .
if the from the specified object is equivalent to the contained in the current ; otherwise, .
Reconstructs a security object with a specified state from an XML encoding.
The XML encoding to use to reconstruct the security object.
Reconstructs a security object with a specified state from an XML encoding.
The XML encoding to use to reconstruct the security object.
The context, used to resolve references.
The parameter is .
The parameter is not a valid membership condition element.
Returns the hash code for the current .
The property is .
The hash code for the current .
Creates and returns a string representation of the current .
A representation of the current .
Creates an XML encoding of the security object and its current state.
An XML encoding of the security object, including any state information.
Creates an XML encoding of the security object and its current state with the specified .
The context, which is used to resolve references.
An XML encoding of the security object, including any state information.
Gets or sets the simple name of the for which the membership condition tests.
The value is .
-or-
The value is an empty string ("").
The simple name of the for which the membership condition tests.
Gets or sets the of the for which the membership condition tests.
An attempt is made to set the to .
The of the for which the membership condition tests.
Gets or sets the of the for which the membership condition tests.
The of the for which the membership condition tests.
Represents the context for the trust manager to consider when making the decision to run an application, and when setting up the security on a new in which to run an application.
Initializes a new instance of the class.
Initializes a new instance of the class using the specified object.
One of the values that specifies the type of trust manager user interface to use.
Gets or sets a value indicating whether the application security manager should ignore any persisted decisions and call the trust manager.
to call the trust manager; otherwise, .
Gets or sets a value indicating whether the trust manager should cache state for this application, to facilitate future requests to determine application trust.
to cache state data; otherwise, . The default is .
Gets or sets a value indicating whether the trust manager should prompt the user for trust decisions.
to not prompt the user; to prompt the user. The default is .
Gets or sets a value indicating whether the user's response to the consent dialog should be persisted.
to cache state data; otherwise, . The default is .
Gets or sets the identity of the previous application identity.
An object representing the previous .
Gets or sets the type of user interface the trust manager should display.
One of the values. The default is .
Specifies the type of user interface (UI) the trust manager should use for trust decisions.
An Install UI.
A Run UI.
An Upgrade UI.
Represents a code group whose policy statement is the union of the current code group's policy statement and the policy statement of all its matching child code groups. This class cannot be inherited.
Initializes a new instance of the class.
A membership condition that tests evidence to determine whether this code group applies policy.
The policy statement for the code group in the form of a permission set and attributes to grant code that matches the membership condition.
The type of the parameter is not valid.
-or-
The type of the parameter is not valid.
Makes a deep copy of the current code group.
An equivalent copy of the current code group, including its membership conditions and child code groups.
Resolves policy for the code group and its descendants for a set of evidence.
The evidence for the assembly.
The parameter is .
More than one code group (including the parent code group and any child code groups) is marked .
A policy statement consisting of the permissions granted by the code group with optional attributes, or if the code group does not apply (the membership condition does not match the specified evidence).
Resolves matching code groups.
The evidence for the assembly.
The parameter is .
The complete set of code groups that were matched by the evidence.
Gets the merge logic.
Always the string "Union".
Provides the URL from which a code assembly originates as evidence for policy evaluation. This class cannot be inherited.
Initializes a new instance of the class with the URL from which a code assembly originates.
The URL of origin for the associated code assembly.
The parameter is .
Creates a new copy of the evidence object.
A new, identical copy of the evidence object.
Creates an identity permission corresponding to the current instance of the evidence class.
The evidence set from which to construct the identity permission.
A for the specified evidence.
Compares the current evidence object to the specified object for equivalence.
The evidence object to test for equivalence with the current object.
if the two objects are equal; otherwise, .
Gets the hash code of the current URL.
The hash code of the current URL.
Returns a string representation of the current .
A representation of the current .
Gets the URL from which the code assembly originates.
The URL from which the code assembly originates.
Determines whether an assembly belongs to a code group by testing its URL. This class cannot be inherited.
Initializes a new instance of the class with the URL that determines membership.
The URL for which to test.
The parameter is .
must be an absolute URL.
Determines whether the specified evidence satisfies the membership condition.
The evidence set against which to make the test.
The property is .
if the specified evidence satisfies the membership condition; otherwise, .
Creates an equivalent copy of the membership condition.
The property is .
A new, identical copy of the current membership condition.
Determines whether the URL from the specified object is equivalent to the URL contained in the current .
The object to compare to the current .
The property of the current object or the specified object is .
if the URL from the specified object is equivalent to the URL contained in the current ; otherwise, .
Reconstructs a security object with a specified state from an XML encoding.
The XML encoding to use to reconstruct the security object.
The parameter is .
The parameter is not a valid membership condition element.
Reconstructs a security object with a specified state from an XML encoding.
The XML encoding to use to reconstruct the security object.
The policy level context, used to resolve named permission set references.
The parameter is .
The parameter is not a valid membership condition element.
Gets the hash code for the current membership condition.
The property is .
The hash code for the current membership condition.
Creates and returns a string representation of the membership condition.
The property is .
A string representation of the state of the membership condition.
Creates an XML encoding of the security object and its current state.
An XML encoding of the security object, including any state information.
Creates an XML encoding of the security object and its current state with the specified .
The policy level context for resolving named permission set references.
The property is .
An XML encoding of the security object, including any state information.
Gets or sets the URL for which the membership condition tests.
An attempt is made to set to .
Value is not an absolute URL.
The URL for which the membership condition tests.
Provides the security zone of a code assembly as evidence for policy evaluation. This class cannot be inherited.
Initializes a new instance of the class with the zone from which a code assembly originates.
The zone of origin for the associated code assembly.
The parameter is not a valid .
Creates an equivalent copy of the evidence object.
A new, identical copy of the evidence object.
Creates a new zone with the specified URL.
The URL from which to create the zone.
The parameter is .
A new zone with the specified URL.
Creates an identity permission that corresponds to the current instance of the evidence class.
The evidence set from which to construct the identity permission.
A for the specified evidence.
Compares the current evidence object to the specified object for equivalence.
The evidence object to test for equivalence with the current object.
The parameter is not a object.
if the two objects are equal; otherwise, .
Gets the hash code of the current zone.
The hash code of the current zone.
Returns a string representation of the current .
A representation of the current .
Gets the zone from which the code assembly originates.
The zone from which the code assembly originates.
Determines whether an assembly belongs to a code group by testing its zone of origin. This class cannot be inherited.
Initializes a new instance of the class with the zone that determines membership.
The for which to test.
The parameter is not a valid .
Determines whether the specified evidence satisfies the membership condition.
The evidence set against which to make the test.
The property is .
The property is not a valid .
if the specified evidence satisfies the membership condition; otherwise, .
Creates an equivalent copy of the membership condition.
The property is .
The property is not a valid .
A new, identical copy of the current membership condition.
Determines whether the zone from the specified object is equivalent to the zone contained in the current .
The object to compare to the current .
The property for the current object or the specified object is .
The property for the current object or the specified object is not a valid .
if the zone from the specified object is equivalent to the zone contained in the current ; otherwise, .
Reconstructs a security object with a specified state from an XML encoding.
The XML encoding to use to reconstruct the security object.
The parameter is .
The parameter is not a valid membership condition element.
Reconstructs a security object with a specified state from an XML encoding.
The XML encoding to use to reconstruct the security object.
The policy level context used to resolve named permission set references.
The parameter is .
The parameter is not a valid membership condition element.
Gets the hash code for the current membership condition.
The property is .
The property is not a valid .
The hash code for the current membership condition.
Creates and returns a string representation of the membership condition.
The property is .
The property is not a valid .
A string representation of the state of the membership condition.
Creates an XML encoding of the security object and its current state.
The property is .
The property is not a valid .
An XML encoding of the security object, including any state information.
Creates an XML encoding of the security object and its current state with the specified .
The policy level context for resolving named permission set references.
The property is .
The property is not a valid .
An XML encoding of the security object, including any state information.
Gets or sets the zone for which the membership condition tests.
The value is .
An attempt is made to set to an invalid .
The zone for which the membership condition tests.
Specifies the type of a managed code policy level.
Security policy for all managed code in an application.
Security policy for all managed code in an enterprise.
Security policy for all managed code that is run on the computer.
Security policy for all managed code that is run by the user.
Encapsulates and propagates all security-related data for execution contexts transferred across threads. This class cannot be inherited.
Captures the security context for the current thread.
The security context for the current thread.
Creates a copy of the current security context.
The current security context has been previously used, was marshaled across application domains, or was not acquired through the method.
The security context for the current thread.
Releases all resources used by the current instance of the class.
Determines whether the flow of the security context has been suppressed.
if the flow has been suppressed; otherwise, .
Determines whether the flow of the Windows identity portion of the current security context has been suppressed.
if the flow has been suppressed; otherwise, .
Restores the flow of the security context across asynchronous threads.
The security context is or an empty string.
Runs the specified method in the specified security context on the current thread.
The security context to set.
The delegate that represents the method to run in the specified security context.
The object to pass to the callback method.
is .
-or-
was not acquired through a capture operation.
-or-
has already been used as the argument to a method call.
Suppresses the flow of the security context across asynchronous threads.
An structure for restoring the flow.
Suppresses the flow of the Windows identity portion of the current security context across asynchronous threads.
A structure for restoring the flow.
Identifies the source for the security context.
The current application domain is the source for the security context.
The current assembly is the source for the security context.
Provides the main access point for classes interacting with the security system. This class cannot be inherited.
Determines whether the current thread requires a security context capture if its security state has to be re-created at a later point in time.
if the stack contains no partially trusted application domains, no partially trusted assemblies, and no currently active or modifiers; if the common language runtime cannot guarantee that the stack contains none of these.
Gets a permission set that is safe to grant to an application that has the provided evidence.
The host evidence to match to a permission set.
is .
A permission set that can be used as a grant set for the application that has the provided evidence.
Gets the granted zone identity and URL identity permission sets for the current assembly.
An output parameter that contains an of granted objects.
An output parameter that contains an of granted objects.
The request for failed.
Determines whether a permission is granted to the caller.
The permission to test against the grant of the caller.
if the permissions granted to the caller include the permission ; otherwise, .
Loads a from the specified file.
The physical file path to a file containing the security policy information.
One of the enumeration values that specifies the type of the policy level to be loaded.
The parameter is .
The file indicated by the parameter does not exist.
The code that calls this method does not have .
-or-
The code that calls this method does not have .
-or-
The code that calls this method does not have .
-or-
The code that calls this method does not have .
This method uses code access security (CAS) policy, which is obsolete in the .NET Framework 4. To enable CAS policy for compatibility with earlier versions of the .NET Framework, use the <legacyCasPolicy> element.
The loaded policy level.
Loads a from the specified string.
The XML representation of a security policy level in the same form in which it appears in a configuration file.
One of the enumeration values that specifies the type of the policy level to be loaded.
The parameter is .
The parameter is not valid.
The code that calls this method does not have .
The loaded policy level.
Provides an enumerator to access the security policy hierarchy by levels, such as computer policy and user policy.
This method uses code access security (CAS) policy, which is obsolete in the .NET Framework 4. To enable CAS policy for compatibility with earlier versions of the .NET Framework, use the <legacyCasPolicy> element.
The code that calls this method does not have .
An enumerator for objects that compose the security policy hierarchy.
Determines what permissions to grant to code based on the specified evidence.
The evidence set used to evaluate policy.
This method uses code access security (CAS) policy, which is obsolete in the .NET Framework 4. To enable CAS policy for compatibility with earlier versions of the .NET Framework, use the <legacyCasPolicy> element.
The set of permissions that can be granted by the security system.
Determines what permissions to grant to code based on the specified evidence and requests.
The evidence set used to evaluate policy.
The required permissions the code needs to run.
The optional permissions that will be used if granted, but aren't required for the code to run.
The denied permissions that must never be granted to the code even if policy otherwise permits it.
An output parameter that contains the set of permissions not granted.
This method uses code access security (CAS) policy, which is obsolete in the .NET Framework 4. To enable CAS policy for compatibility with earlier versions of the .NET Framework, use the <legacyCasPolicy> element.
Policy fails to grant the minimum required permissions specified by the parameter.
The set of permissions that would be granted by the security system.
Determines what permissions to grant to code based on the specified evidence.
An array of evidence objects used to evaluate policy.
This method uses code access security (CAS) policy, which is obsolete in the .NET Framework 4. To enable CAS policy for compatibility with earlier versions of the .NET Framework, use the <legacyCasPolicy> element.
The set of permissions that is appropriate for all of the provided evidence.
Gets a collection of code groups matching the specified evidence.
The evidence set against which the policy is evaluated.
This method uses code access security (CAS) policy, which is obsolete in the .NET Framework 4. To enable CAS policy for compatibility with earlier versions of the .NET Framework, use the <legacyCasPolicy> element.
An enumeration of the set of code groups matching the evidence.
Determines which permissions to grant to code based on the specified evidence, excluding the policy for the level.
The evidence set used to evaluate policy.
This method uses code access security (CAS) policy, which is obsolete in the .NET Framework 4. To enable CAS policy for compatibility with earlier versions of the .NET Framework, use the <legacyCasPolicy> element.
The set of permissions that can be granted by the security system.
Saves the modified security policy state.
This method uses code access security (CAS) policy, which is obsolete in the .NET Framework 4. To enable CAS policy for compatibility with earlier versions of the .NET Framework, use the <legacyCasPolicy> element.
The code that calls this method does not have .
Saves a modified security policy level loaded with .
The policy level object to be saved.
The code that calls this method does not have .
This method uses code access security (CAS) policy, which is obsolete in the .NET Framework 4. To enable CAS policy for compatibility with earlier versions of the .NET Framework, use the <legacyCasPolicy> element.
Gets or sets a value indicating whether code must have in order to execute.
The code that calls this method does not have .
if code must have in order to execute; otherwise, .
Gets or sets a value indicating whether security is enabled.
The code that calls this method does not have .
if security is enabled; otherwise, .
Provides a base class for requesting the security status of an action from the object.
Initializes a new instance of the class.
When overridden in a derived class, ensures that the state that is represented by is available on the host.
Gets a value that indicates whether the state for this implementation of the class is available on the current host.
if the state is available; otherwise, .
Defines the integer values corresponding to security zones used by security policy.
The Internet zone is used for the Web sites on the Internet that do not belong to another zone.
The local intranet zone is used for content located on a company's intranet. Because the servers and information would be within a company's firewall, a user or company could assign a higher trust level to the content on the intranet.
The local computer zone is an implicit zone used for content that exists on the user's computer.
No zone is specified.
The trusted sites zone is used for content located on Web sites considered more reputable or trustworthy than other sites on the Internet. Users can use this zone to assign a higher trust level to these sites to minimize the number of authentication requests. The URLs of these trusted Web sites need to be mapped into this zone by the user.
The restricted sites zone is used for Web sites with content that could cause, or could have caused, problems when downloaded. The URLs of these untrusted Web sites need to be mapped into this zone by the user.
The exception that is thrown when there is a syntax error in XML parsing. This class cannot be inherited.
Initializes a new instance of the class with default properties.
Initializes a new instance of the class with the line number where the exception was detected.
The line number of the XML stream where the XML syntax error was detected.
Initializes a new instance of the class with a specified error message and the line number where the exception was detected.
The line number of the XML stream where the XML syntax error was detected.
The error message that explains the reason for the exception.
Initializes a new instance of the class with a specified error message.
The error message that explains the reason for the exception.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
Allows control of code access security permissions for service controllers.
Initializes a new instance of the class.
Initializes a new instance of the class with the specified access to resources.
One of the values.
The parameter is not a valid value of .
Initializes a new instance of the class with the specified permission access levels, the name of the computer on which the service resides, and the short name that identifies the service to the system.
One of the values.
The name of the computer on which the service resides.
The short name that identifies the service to the system.
Initializes a new instance of the class with the specified permission entries.
An array of objects. The property is set to this value.
is .
Gets the collection of permission entries for this permissions request.
A that contains the permission entries for this permissions request.
Defines access levels used by permission classes.
The can connect to, but not control, existing services.
The can connect to and control existing services.
The has no permissions.
Allows declarative service controller permission checks.
Initializes a new instance of the class.
One of the values.
Creates the permission based on the requested access levels that are set through the property on the attribute.
An that represents the created permission.
Gets or sets the name of the computer on which the service resides.
The syntax is invalid.
The name of the computer that is running the service associated with the .
Gets or sets the access levels used in the permissions request.
A bitwise combination of the values.
Gets or sets the short name that identifies the service to the system.
The is .
The syntax of the property is invalid.
The name of the service.
Defines the smallest unit of a code access security permission that is set for a .
Initializes a new instance of the class.
Initializes a new instance of the class with the specified permission access levels, the name of the computer, and a short name that identifies the service.
One of the values.
The name of the computer on which the service resides.
The short name that identifies the service to the system.
is .
is not valid.
-or-
is not valid.
Gets the name of the computer on which the service resides.
The name of the computer that is running the service associated with the .
Gets the access levels used in the permissions request.
A bitwise combination of the values.
Gets the short name that identifies the service to the system.
The name of the service.
Contains a strongly-typed collection of objects.
Adds a specified to this collection.
The object to add.
The zero-based index of the added object.
Appends a set of specified permission entries to this collection.
An array of type objects that contains the permission entries to add.
is .
Appends a set of specified permission entries to this collection.
A that contains the permission entries to add.
is .
Determines whether this collection contains a specified object.
The object to find.
if the specified object belongs to this collection; otherwise, .
Copies the permission entries from this collection to an array, starting at a particular index of the array.
An array of type that receives the copied permission entries.
The zero-based index at which to begin copying the permission entries.
Determines the index of a specified permission entry in this collection.
The permission entry to search for.
The zero-based index of the specified permission entry, or -1 if the permission entry was not found in the collection.
Inserts a permission entry into this collection at a specified index.
The zero-based index of the collection at which to insert the permission entry.
The permission entry to insert into this collection.
Removes a specified permission entry from this collection.
The permission entry to remove.
Gets or sets the object at a specified index.
The zero-based index into the collection.
The object that exists at the specified index.
The permission that is demanded by when management of a transaction is escalated to MSDTC. This class cannot be inherited.
Initializes a new instance of the class.
One of the values.
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 used to reconstruct the permission.
Creates and returns a permission that is the intersection of the current permission and the specified permission.
A permission to intersect with the current permission. It must be the same type as the current permission.
A new permission that represents the intersection of the current permission and the specified permission. This new permission is if the intersection is empty.
Returns a value that indicates whether the current permission is a subset of the specified permission.
A permission to test for the subset relationship. This permission must be the same type as the current permission.
if the current is a subset of the specified ; otherwise, .
Returns a value that indicates whether unrestricted access to the resource that is protected by the current permission is allowed.
if unrestricted use of the resource protected by the permission is allowed; otherwise, .
Creates an XML encoding of the security object and its current state.
A that contains the XML encoding of the security object, including any state information.
Creates a permission that is 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.
An that represents the union of the current permission and the specified 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.
Creates a permission object that can then be serialized into binary form and persistently stored along with the in an assembly's metadata.
A serializable permission object.
Gets or sets a value indicating whether full (unrestricted) permission to the resource protected by the attribute is declared.
if full permission to the protected resource is declared; otherwise, .
Controls access permissions in ASP.NET hosted environments. This class cannot be inherited.
Initializes a new instance of the class with the specified enumeration value.
A enumeration value.
is not set to one of the enumeration values.
Initializes a new instance of the class with the specified permission level.
An enumeration value.
When implemented by a derived class, creates and returns an identical copy of the current permission object.
A copy of the current permission object.
Reconstructs a permission object with a specified state from an XML encoding.
The containing the XML encoding to use to reconstruct the permission object.
is .
The property of is not equal to "IPermission".
-or-
The class of is or an empty string ("").
When implemented by a derived class, creates and returns a permission that is the intersection 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.
is not an .
An that represents the intersection of the current permission and the specified permission; otherwise, if the intersection is empty.
Returns a value indicating whether the current permission is a subset of the specified permission.
The to combine with the current permission. It must be of the same type as the current .
is not an .
if the current is a subset of the specified ; otherwise, .
Returns a value indicating whether unrestricted access to the resource that is protected by the current permission is allowed.
if unrestricted use of the resource protected by the permission is allowed; otherwise, .
Creates an XML encoding of the permission object and its current state.
A containing the XML encoding of the permission object, including any state information.
Creates a permission that is 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.
is not an .
An that represents the union of the current permission and the specified permission.
Gets or sets the current hosting permission level for an ASP.NET application.
One of the enumeration values.
Allows security actions for to be applied to code using declarative security. This class cannot be inherited.
Initializes a new instance of the class.
One of the enumeration values.
Creates a new with the permission level previously set by the property.
An that is the new .
Gets or sets the current hosting permission level.
One of the enumeration values.
Specifies the trust level that is granted to an ASP.NET Web application.
Indicates that features protected with a demand for any level less than or equal to the trust level will succeed. This level is intended for highly trusted managed-code applications that need to use most of the managed permissions that support semi-trusted access. It does not grant some of the highest permissions (for example, the ability to call into native code), but it does provide a way to run trusted applications with least privilege or to provide some level of constraints for highly trusted applications. This level is granted by configuring at least the trust level in the trust section in a configuration file.
Indicates that features protected with a demand for any level less than or equal to the level will succeed. This level is intended to allow read-only access to limited resources in a constrained environment. This level is granted by specifying the trust level in the trust section in a configuration file.
Indicates that features protected with a demand for any level less than or equal to the level will succeed. This level is granted by configuring at least the trust level in the trust section in a configuration file.
Indicates that features protected with a demand for the level will succeed. This level allows code to execute but not to interact with resources present on the system. This level is granted by configuring at least the trust level using the trust section in a configuration file.
Indicates that no permission is granted. All demands for will fail.
Indicates that all demands for permission to use all features of an application will be granted. This is equivalent to granting trust level in the trust section in a configuration file.
Declares permissions for loading types from assemblies that are used by a XAML reader or writer.
Initializes a new instance of the class, using an enumerable set of specific values.
An enumerable set of specific values.
is .
contained invalid information, such as a null item.
Initializes a new instance of the class, using existing permissions.
A enumeration value.
Initializes a new instance of the class, using a single value.
The defining value.
is .
Creates and returns an identical copy of the current .
A copy of the current .
Reconstructs a security object with a specified state from an XML encoding.
The XML encoding to use to reconstruct the security object.
is .
does not contain the XML encoding for a .
-or-
The version attribute within is not supported.
Returns whether this includes a specified in its list.
The specific to check for.
is null.
if exists as an item in the list of the current . Otherwise, .
Creates and returns a that is the intersection of the current and the specified permission.
A to intersect with the current . Can be .
is not or is not a .
A new permission that represents the intersection of the current and the specified . This new permission is if the intersection is empty.
Determines whether the current is a subset of the specified permission.
A permission that is to be tested for the subset relationship. Can be .
is not or is not a .
if the current is a subset of the specified permission; otherwise, .
Returns whether this denotes unrestricted permissions.
if this denotes unrestricted permissions. if this has specific access level restrictions in , or has no permissions.
Creates an XML encoding of this and its current state.
An XML encoding of this , including any state information.
Creates a permission that is the union of the current and the specified permission.
A to combine with the current . Can be .
is not or is not a .
A new that represents the union of the current and the specified .
Gets the list of all values that this represents.
A read-only list of values, or .