diff options
Diffstat (limited to 'src/api/burn/WixToolset.Mba.Core/EventArgs.cs')
-rw-r--r-- | src/api/burn/WixToolset.Mba.Core/EventArgs.cs | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/api/burn/WixToolset.Mba.Core/EventArgs.cs b/src/api/burn/WixToolset.Mba.Core/EventArgs.cs index 2b414d91..48850fd7 100644 --- a/src/api/burn/WixToolset.Mba.Core/EventArgs.cs +++ b/src/api/burn/WixToolset.Mba.Core/EventArgs.cs | |||
@@ -5,6 +5,7 @@ namespace WixToolset.Mba.Core | |||
5 | using System; | 5 | using System; |
6 | using System.Collections.Generic; | 6 | using System.Collections.Generic; |
7 | using System.Collections.ObjectModel; | 7 | using System.Collections.ObjectModel; |
8 | using System.Runtime.InteropServices; | ||
8 | 9 | ||
9 | /// <summary> | 10 | /// <summary> |
10 | /// Base class for BA <see cref="EventArgs"/> classes. | 11 | /// Base class for BA <see cref="EventArgs"/> classes. |
@@ -328,11 +329,13 @@ namespace WixToolset.Mba.Core | |||
328 | public class DetectUpdateEventArgs : CancellableHResultEventArgs | 329 | public class DetectUpdateEventArgs : CancellableHResultEventArgs |
329 | { | 330 | { |
330 | /// <summary /> | 331 | /// <summary /> |
331 | public DetectUpdateEventArgs(string updateLocation, long size, string version, string title, string summary, string contentType, string content, bool cancelRecommendation, bool stopRecommendation) | 332 | public DetectUpdateEventArgs(string updateLocation, long size, string hash, UpdateHashType hashAlgorithm, string version, string title, string summary, string contentType, string content, bool cancelRecommendation, bool stopRecommendation) |
332 | : base(cancelRecommendation) | 333 | : base(cancelRecommendation) |
333 | { | 334 | { |
334 | this.UpdateLocation = updateLocation; | 335 | this.UpdateLocation = updateLocation; |
335 | this.Size = size; | 336 | this.Size = size; |
337 | this.Hash = hash; | ||
338 | this.HashAlgorithm = hashAlgorithm; | ||
336 | this.Version = version; | 339 | this.Version = version; |
337 | this.Title = title; | 340 | this.Title = title; |
338 | this.Summary = summary; | 341 | this.Summary = summary; |
@@ -352,6 +355,16 @@ namespace WixToolset.Mba.Core | |||
352 | public long Size { get; private set; } | 355 | public long Size { get; private set; } |
353 | 356 | ||
354 | /// <summary> | 357 | /// <summary> |
358 | /// File hash of the updated bundle. | ||
359 | /// </summary> | ||
360 | public string Hash { get; } | ||
361 | |||
362 | /// <summary> | ||
363 | /// The algorithm of the updated bundle's hash. | ||
364 | /// </summary> | ||
365 | public UpdateHashType HashAlgorithm { get; } | ||
366 | |||
367 | /// <summary> | ||
355 | /// Gets the version of the updated bundle. | 368 | /// Gets the version of the updated bundle. |
356 | /// </summary> | 369 | /// </summary> |
357 | public string Version { get; private set; } | 370 | public string Version { get; private set; } |