Environment: GetEnvironmentVariables |
Returns an IDictionary object containing all environment variables as name/value pairs.
Public Function GetEnvironmentVariables( Optional ByVal Target As EnvironmentVariableTarget = Process ) As IDictionary
Default: Process
The hidden environment variables are not included in the dictionary.
A Target of Process will retrieve the variable from the current process. Other targets will retrieve the variable value from the registry.