diff --git a/RepoFullDownloader-Core/Program.cs b/RepoFullDownloader-Core/Program.cs index e7475e9..eba2638 100644 --- a/RepoFullDownloader-Core/Program.cs +++ b/RepoFullDownloader-Core/Program.cs @@ -196,7 +196,7 @@ namespace RepoFullDownloader_Core } using (WebClient wc = new WebClient()) { - wc.DownloadFileAsync(new Uri(link + p.link), fileToDownload); + wc.DownloadFile(new Uri(link + p.link), fileToDownload); } Console.WriteLine("Successfully downloaded " + link + p.link + " as " + fileToDownload); }