EnvironmentPermission
Controls access to system and user environment variables. This class cannot be inherited.
Initializes a new instance of the EnvironmentPermission class with the specified access to the specified environment variables.
Initializes a new instance of the EnvironmentPermission class with either restricted or unrestricted permission as specified.
Adds access for the specified environment variables to the existing state of the permission.
Gets all environment variables with the specified EnvironmentPermissionAccess.
Returns a value indicating whether the current permission is unrestricted.
Sets the specified access to the specified environment variables to the existing state of the permission.