How to read a user environment variable in C#? -


How can I read a user-specific environment variable? I know how to get a system wide, like

  environment. GETEnvironmentVariable ("SOMETHING");  

Thanks advance!

Use other surcharges it lets you specify.

  Environment. GETEnvironmentVariable (variable, target);  

The target can be:
Environmental targets. Process ,
Environmental target.User ,
< Code> environmentally-friendly area Machine .


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -