Download Large File Efficiently
I have written following method to download file and save in c# with .net framework 4.7.2 is being used. public static bool DownloadFiles(Uri url, string filePath) { try { using (HttpClient client = new HttpClient()) { using (var stream = client.GetStreamAsync(url)) { using (var fs = new FileStream(filePath, FileMode.OpenOrCreate)) { stream.Result.CopyTo(fs); } } } return… Read More Download Large File Efficiently