public string GetCurrentVersion() { string xmlData = DownloadString("version.xml"); XmlDocument doc = new XmlDocument(); doc.LoadXml(xmlData); return doc.SelectSingleNode("config/version").InnerText; }