aboutsummaryrefslogtreecommitdiff
path: root/Aggregator/Parser/Download.cs
blob: 30a2881198ea163080b4a5328f4fd161864d64dc (plain)
1
2
3
4
5
6
7
8
9
10
11
using System.Net;

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