string xml; using(WebClient client = new WebClient()) { xml = client.DownloadString(url); }