diff options
author | sr55 <[email protected]> | 2016-03-12 16:19:53 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2016-03-12 16:20:22 +0000 |
commit | 39613ae76e39b5a8ddaae50aa5d5665796acc726 (patch) | |
tree | 5f07ea0e79de1929e2e73037ee9f23fa9d634d91 /win/CS/HandBrakeWPF/Services/Interfaces | |
parent | 1a972f68a412ae06b000930a189bb06bcb5ba6e6 (diff) |
WinGui: Add SHA1 Verification of the update downloads and don't start the installer if the hash check fails.
Diffstat (limited to 'win/CS/HandBrakeWPF/Services/Interfaces')
-rw-r--r-- | win/CS/HandBrakeWPF/Services/Interfaces/IUpdateService.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/Services/Interfaces/IUpdateService.cs b/win/CS/HandBrakeWPF/Services/Interfaces/IUpdateService.cs index cd1b50e9f..571d5c931 100644 --- a/win/CS/HandBrakeWPF/Services/Interfaces/IUpdateService.cs +++ b/win/CS/HandBrakeWPF/Services/Interfaces/IUpdateService.cs @@ -40,12 +40,15 @@ namespace HandBrakeWPF.Services.Interfaces /// <param name="url">
/// The url.
/// </param>
+ /// <param name="expectedSHA1Hash">
+ /// The expected SHA-1 Hash.
+ /// </param>
/// <param name="completed">
/// The complete.
/// </param>
/// <param name="progress">
/// The progress.
/// </param>
- void DownloadFile(string url, Action<DownloadStatus> completed, Action<DownloadStatus> progress);
+ void DownloadFile(string url, string expectedSHA1Hash, Action<DownloadStatus> completed, Action<DownloadStatus> progress);
}
}
|