Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
enum System.EnvironmentVariableTarget
Assembly: System.Runtime
Specifies the location where an environment variable is stored or retrieved in a set or get operation.
Values
Process
The environment variable is stored or retrieved from the environment block associated with the current process.
User
The environment variable is stored or retrieved from the <see langword="HKEY_CURRENT_USER\Environment" /> key in the Windows operating system registry. This value should be used on .NET implementations running on Windows systems only.
Machine
The environment variable is stored or retrieved from the <see langword="HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment" /> key in the Windows operating system registry. This value should be used on .NET implementations running on Windows systems only.