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

System.Security.Permissions.EnvironmentPermissionAttribute.Write Property

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

public string Write { set; get; }

Value

A string containing one or more environment variables for which write 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 write access to the specified variables in order to execute. If the action is SecurityAction.RequestRefuse, then the system does not allow the target to write the specified variables.

Requirements

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