How do I get and set Environment variables in C#?
https://stackoverflow.com/questions/185208/how-do-i-get-and-set-environment-variables-in-c
WebOct 8, 2008 · 9 Answers. Sorted by: 351. Use the System.Environment class. The methods. var value = System.Environment.GetEnvironmentVariable(variable [, Target]) and. System.Environment.SetEnvironmentVariable(variable, value [, Target]) will do …
DA: 4 PA: 32 MOZ Rank: 51