Last active
December 6, 2019 16:13
-
-
Save ljtill/b9f692b874c2bcae348d7e2ea01ec4cd to your computer and use it in GitHub Desktop.
Provides the ability to retrieve an environment variable
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private static string GetEnvironment(string name) | |
| { | |
| /// <summary> | |
| /// Environment Variable retrieval from AppSettings or local.settings.json | |
| /// </summary> | |
| return Environment.GetEnvironmentVariable(name, EnvironmentVariableTarget.Process); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment