AppUpdater.LocalStructure.DefaultLocalStructureManager.GetConfigValue C# (CSharp) Метод

GetConfigValue() приватный Метод

private GetConfigValue ( string name ) : string
name string
Результат 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;
        }