Environment::GetEnvironmentVariable Method
.NET Framework (current version)
Retrieves the value of an environment variable.
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | GetEnvironmentVariable(String^) | Retrieves the value of an environment variable from the current process. |
![]() ![]() | GetEnvironmentVariable(String^, EnvironmentVariableTarget) | Retrieves the value of an environment variable from the current process or from the Windows operating system registry key for the current user or local machine. |
Show:

