markus / MarkusAutoUpdate / src / NetSparkle / Configurations / SavedConfigurationData.cs @ d8f5045e
이력 | 보기 | 이력해설 | 다운로드 (1.39 KB)
1 |
using System; |
---|---|
2 |
using System.Collections.Generic; |
3 |
using System.Text; |
4 |
|
5 |
namespace NetSparkleUpdater.Configurations |
6 |
{ |
7 |
/// <summary> |
8 |
/// Configuration data for this software and NetSparkle instance. |
9 |
/// Allows you to get information on the versions that the user |
10 |
/// skipped, when the last update was performed, etc. |
11 |
/// </summary> |
12 |
public class SavedConfigurationData |
13 |
{ |
14 |
/// <summary> |
15 |
/// Whether or not to check for an update |
16 |
/// </summary> |
17 |
public bool CheckForUpdate { get; set; } |
18 |
/// <summary> |
19 |
/// The last DateTime that an update check was performed |
20 |
/// </summary> |
21 |
public DateTime LastCheckTime { get; set; } |
22 |
/// <summary> |
23 |
/// The previous version of the software that the user ran |
24 |
/// </summary> |
25 |
public string PreviousVersionOfSoftwareRan { get; set; } |
26 |
/// <summary> |
27 |
/// The last version (as a string) that the user chose |
28 |
/// to skip. |
29 |
/// Can be blank. |
30 |
/// </summary> |
31 |
public string LastVersionSkipped { get; set; } |
32 |
/// <summary> |
33 |
/// Whether or not the software has run at least one time. |
34 |
/// </summary> |
35 |
public bool DidRunOnce { get; set; } |
36 |
/// <summary> |
37 |
/// Last DateTime that the configuration data was updated. |
38 |
/// </summary> |
39 |
public DateTime LastConfigUpdate { get; set; } |
40 |
} |
41 |
} |