xtd 0.2.0
Loading...
Searching...
No Matches

◆ get_environment_variables() [1/2]

static std::map< std::string, std::string > & xtd::environment::get_environment_variables ( )
static

Retrieves all environment variable names and their values from the current process.

Returns
std::map A dictionary that contains all environment variable names and their values; otherwise, an empty dictionary if no environment variables are found.
Remarks
The names and values for the environment variables are stored as key-value pairs in the returned std::map.