Mono Class Library: System.Security.Permissions.EnvironmentPermissionAttribute Overview | Members

System.Security.Permissions.EnvironmentPermissionAttribute.Read Property

Gets or sets the environment variables for which read access is secured.

public string Read { set; get; }

Value

A string containing one or more environment variables for which read access is secured.

Remarks

Multiple environment variable names are specified by separating the names using the System.IO.Path.PathSeparator string. Environment variable names are case-insensitive.

Note: The security action passed to the constructor of the current instance determines how the specified environment variables are secured. For example, if the action is SecurityAction.RequestMinimum , then the target of the current instance requires read access to the specified variables in order to execute. If the action is SecurityAction.RequestRefuse, then the system does not allow the target to read the specified variables.

Requirements

Namespace: System.Security.Permissions
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0