1 /* UpdateCheckInformation.cs $
\r
2 This file is part of the HandBrake source code.
\r
3 Homepage: <http://handbrake.fr>.
\r
4 It may be used under the terms of the GNU General Public License. */
\r
6 namespace HandBrake.Framework.Model
\r
9 using HandBrake.Framework.Helpers;
\r
12 /// Provides information about an update check.
\r
14 public struct UpdateCheckInformation
\r
17 /// Gets or sets a value indicating whether a New Version is Available.
\r
19 public bool NewVersionAvailable { get; set; }
\r
22 /// Gets a value indicating whether an Error Occured.
\r
24 public bool ErrorOccured
\r
26 get { return this.Error != null; }
\r
30 /// Gets or sets information about the new build, if any. This will be null if there is no new verison.
\r
32 public AppcastReader BuildInformation { get; set; }
\r
35 /// Gets or sets the error that occurred, if any. This will be null if no error occured.
\r
37 public Exception Error { get; set; }
\r