summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Model
diff options
context:
space:
mode:
authorsr55 <[email protected]>2016-03-12 16:19:53 +0000
committersr55 <[email protected]>2016-03-12 16:20:22 +0000
commit39613ae76e39b5a8ddaae50aa5d5665796acc726 (patch)
tree5f07ea0e79de1929e2e73037ee9f23fa9d634d91 /win/CS/HandBrakeWPF/Model
parent1a972f68a412ae06b000930a189bb06bcb5ba6e6 (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/Model')
-rw-r--r--win/CS/HandBrakeWPF/Model/UpdateCheckInformation.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/Model/UpdateCheckInformation.cs b/win/CS/HandBrakeWPF/Model/UpdateCheckInformation.cs
index bc49a2ee3..61c2bd36e 100644
--- a/win/CS/HandBrakeWPF/Model/UpdateCheckInformation.cs
+++ b/win/CS/HandBrakeWPF/Model/UpdateCheckInformation.cs
@@ -53,5 +53,10 @@ namespace HandBrakeWPF.Model
/// Gets or sets the error that occurred, if any. This will be null if no error occured.
/// </summary>
public Exception Error { get; set; }
+
+ /// <summary>
+ /// Gets or sets the expected sh a 1 hash.
+ /// </summary>
+ public string ExpectedSHA1Hash { get; set; }
}
}