mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-08 13:49:11 +00:00
36 lines
1.1 KiB
C#
36 lines
1.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace ElectronNET.API.Entities
|
|
{
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public class BlockMapDataHolder
|
|
{
|
|
/// <summary>
|
|
/// 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).
|
|
/// </summary>
|
|
public double Size { get; set; }
|
|
|
|
/// <summary>
|
|
/// 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.
|
|
/// </summary>
|
|
public double BlockMapSize { get; set; }
|
|
|
|
/// <summary>
|
|
/// The file checksum.
|
|
/// </summary>
|
|
public string Sha512 { get; set; }
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public bool IsAdminRightsRequired { get; set; }
|
|
}
|
|
}
|