This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface IDownloadManager { | |
event DownloadManager.PercentageChangedDelegate OnPercentageChanged; | |
event DownloadManager.DownloadErrorDelegate OnDownloadError; | |
event DownloadManager.DownloadCompleteDelegate OnDownloadComplete; | |
Task DownloadFileAsync(string url, string localPath); | |
void AbortDownload(); | |
bool IsTheSameFile(string expectedMD5, string filePath); | |
double Percentage { get; } | |
} | |
public class DownloadManager : IDownloadManager { |
NewerOlder