System.Collections.IDictionary environmentVariables = Environment.GetEnvironmentVariables();
foreach (System.Collections.DictionaryEntry de in environmentVariables )
{
Console.WriteLine("{0}={1},",de.Key ,de.Value);
}
什么问题,描述清楚啊