我怎样才能获得Environnment变量,如果有任何缺失,设置的值?
How can I get Environnment variables and if something is missing, set the value?
使用System.Environment类。
Use the System.Environment class.
该方法的 System.Environment.GetEnvironmentVariable()
和
System.Environment.SetEnvironmentVariable()
将做的工作给你。