Skip to content

Retrieving Environment variables in VB.NET

In one of my recent applications, I needed machine name, program files folder, and other system related variables. The System.Environment class provides handy members to do so. In this article, I will talk about the Environment class and its members and how to use them in your applications.

The text of this article is not in this database — only its details are. The old site it was published on is gone, but the Internet Archive kept a copy: Retrieving Environment variables in VB.NET