-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathSharpUpdateFileInfo.cs
More file actions
71 lines (63 loc) · 1.62 KB
/
SharpUpdateFileInfo.cs
File metadata and controls
71 lines (63 loc) · 1.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
namespace SharpUpdate
{
internal class SharpUpdateFileInfo
{
/// <summary>
/// Holds the url for download
/// </summary>
private string url;
/// <summary>
/// Holds th filename
/// </summary>
private string fileName;
/// <summary>
/// Holds the md5 checksum
/// </summary>
private string md5;
/// <summary>
/// Holds the path to the temporarly downloaded file
/// </summary>
private string tempFile;
/// <summary>
/// Creates a new SharpUpdateFileInfo object
/// </summary>
internal SharpUpdateFileInfo(string url, string fileName, string md5)
{
this.url = url;
this.fileName = fileName;
this.md5 = md5;
}
/// <summary>
/// The download url for the file
/// </summary>
internal string Url
{
get { return url; }
//set { url = value; }
}
/// <summary>
/// The filename
/// </summary>
internal string FileName
{
get { return fileName; }
//set { fileName = value; }
}
/// <summary>
/// The Md5-Checksum of the file
/// </summary>
internal string Md5
{
get { return md5; }
//set { md5 = value; }
}
/// <summary>
/// Path to the downloaded file
/// </summary>
internal string TempFile
{
get { return tempFile; }
set { tempFile = value; }
}
}
}