using System; using System.Collections.Generic; using System.Text; namespace ElectronNET.API.Entities { /// /// /// public class BlockMapDataHolder { /// /// The file size. Used to verify downloaded size (save one HTTP request to get length). /// Also used when block map data is embedded into the file(appimage, windows web installer package). /// public double Size { get; set; } /// /// The block map file size. Used when block map data is embedded into the file (appimage, windows web installer package). /// This information can be obtained from the file itself, but it requires additional HTTP request, /// so, to reduce request count, block map size is specified in the update metadata too. /// public double BlockMapSize { get; set; } /// /// The file checksum. /// public string Sha512 { get; set; } /// /// /// public bool IsAdminRightsRequired { get; set; } } }