core/client/game/src/shine/support/quartz/QuartzEnvironment.cs
/// <summary>
/// Retrieves all environment variable names and their values from the current process.
/// </summary>
Retrieves all environment variable names and their values from the current process.
Retrieves all environment variable names and their values from the current process .
public static IDictionary<string, string> GetEnvironmentVariables()
        {
            var retValue = new Dictionary<string, string>();
            try
            {
                IDictionary variables = Environment.GetEnvironmentVariables();
                foreach (string key in variables.Keys)
                {
                    retValue[key] = variables[key] as string;
                }
            }
            catch (SecurityException)
            {
                Debug.Log("Unable to read environment variables due to security exception, probably running under medium trust");
            }
            return retValue;
        }
public static IDictionary < string , string > GetEnvironmentVariables ( ) { var retValue = new Dictionary < string , string > ( ) ; try { IDictionary variables = Environment . GetEnvironmentVariables ( ) ; foreach ( string key in variables . Keys ) { retValue [ key ] = variables [ key ] as string ; } } catch ( SecurityException ) { Debug . Log ( " " ) ; } return retValue ; }
Retrieves all environment variable names and their values from the current process.
Retrieves all environment variable names and their values from the current process .