using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EgwCoreLib.Utils { /// /// Object of this class gives you all the details about the update useful in handling the update logic yourself. /// public class UpdateInfoEventArgs : EventArgs { #region Public Properties /// /// URL of the webpage specifying changes in the new update. /// public string ChangelogURL { get; set; } = ""; /// /// Returns newest version of the application available to download. /// public Version CurrentVersion { get; set; } = new Version(); /// /// Download URL of the update file. /// public string DownloadURL { get; set; } = ""; /// /// Returns version of the application currently installed on the user's PC. /// public Version InstalledVersion { get; set; } = new Version(); /// /// If new update is available then returns true otherwise false. /// public bool IsUpdateAvailable { get; set; } = false; /// /// Shows if the update is required or optional. /// public bool Mandatory { get; set; } = false; #endregion Public Properties } }