public static string getCfgParameter(AppDataNames dataName) { string value = ""; value = loadedCfg.Element(dataName.ToString()).Value; return(value); }
public static void setCfgParameter(AppDataNames dataName, string dataValue) { loadedCfg.Element(dataName.ToString()).SetValue(dataValue); }