public Uri GetUpdateServerUri() { string configFilename = Path.Combine(baseDir, "config.xml"); XmlDocument doc = new XmlDocument(); doc.Load(configFilename); return new Uri(doc.SelectSingleNode("config/updateServer").InnerText); }