public static Stream DownloadData(Uri requestUri) { return(StaticWebClient.DownloadDataAsync(requestUri).Result); }
public static void Download(string requestUri, string filename) { StaticWebClient.DownloadAsync(requestUri, filename).RunSynchronously(); }