Promact/slack-erp-custom-integration-mvc

View on GitHub
Slack.Automation/Promact.Core.Repository/EnvironmentVariableStore.cs

Summary

Maintainability
A
0 mins
Test Coverage
using System;

namespace Promact.Core.Repository
{
    public static class EnvironmentVariableStore
    {
        /// <summary>
        /// This method is used to fetch the value of the environment variable of the given name
        /// </summary>
        /// <param name="VarName"></param>
        /// <returns></returns>
        public static string GetEnvironmentVariableValues(string VarName)
        {
            return Environment.GetEnvironmentVariable(VarName, EnvironmentVariableTarget.Process);
        }
    }
}