using System.Net; namespace Parser { public static class Download { public static string DownloadXML(string site) { using (var client = new WebClient()) { return client.DownloadString(site); } } } }