using System;
using System.Collections.Generic;
using System.Text;
using System.Configuration;

namespace SavePDF
{
    /// <summary>
    /// 
    /// </summary>
    public class UtilityManager
    {


        //System.IO.Packaging
        public static string getAppSetting(string chiave) {
           string valore = "" + ConfigurationManager.AppSettings[chiave];

           if (valore == string.Empty)
               throw new Exception("Nel file di configurazione non รจ presente la chiave: " + chiave);

           return valore;
        }
    }
}