mirror of
https://github.com/ncblakely/GiantsTools
synced 2024-11-05 06:45:37 +01:00
29 lines
559 B
C#
29 lines
559 B
C#
|
using System;
|
|||
|
using System.IO;
|
|||
|
|
|||
|
namespace Giants.Launcher
|
|||
|
{
|
|||
|
public class UpdateInfo
|
|||
|
{
|
|||
|
public Version VersionFrom { get; set; }
|
|||
|
public Version VersionTo { get; set; }
|
|||
|
public Uri DownloadUri
|
|||
|
{
|
|||
|
get
|
|||
|
{
|
|||
|
return this.downloadUri;
|
|||
|
}
|
|||
|
set
|
|||
|
{
|
|||
|
this.downloadUri = value;
|
|||
|
this.FileName = Path.GetFileName(value.AbsoluteUri);
|
|||
|
}
|
|||
|
}
|
|||
|
public int FileSize { get; set; }
|
|||
|
public string FileName { get; set; }
|
|||
|
public UpdateType UpdateType { get; set; }
|
|||
|
|
|||
|
private Uri downloadUri;
|
|||
|
}
|
|||
|
}
|