Read environment variables in Xamarin App code example
Example: xamarin set environment variables
Environment.SetEnvironmentVariable(string variable, string value);
Environment.SetEnvironmentVariable(string variable, string value);