EnvironmentPermissionAttribute
Allows security actions for EnvironmentPermission to be applied to code using declarative security. This class cannot be inherited.
Sets full access for the environment variables specified by the string value.
Gets or sets read access for the environment variables specified by the string value.
Gets or sets write access for the environment variables specified by the string value.
Initializes a new instance of the EnvironmentPermissionAttribute class with the specified SecurityAction.