AppUpdater.LocalStructure.DefaultLocalStructureManager.GetConfigValue C# (CSharp) Method

GetConfigValue() private method

private GetConfigValue ( string name ) : string
name string
return string
        private string GetConfigValue(string name)
        {
            string configFilename = Path.Combine(baseDir, "config.xml");
            XmlDocument doc = new XmlDocument();
            doc.Load(configFilename);

            XmlNode configValue = doc.SelectSingleNode("config/" + name);
            return configValue == null ? string.Empty : configValue.InnerText;
        }