aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core/Cab/CabinetFileInfo.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/WixToolset.Core/Cab/CabinetFileInfo.cs')
-rw-r--r--src/WixToolset.Core/Cab/CabinetFileInfo.cs45
1 files changed, 0 insertions, 45 deletions
diff --git a/src/WixToolset.Core/Cab/CabinetFileInfo.cs b/src/WixToolset.Core/Cab/CabinetFileInfo.cs
deleted file mode 100644
index 816f9e3e..00000000
--- a/src/WixToolset.Core/Cab/CabinetFileInfo.cs
+++ /dev/null
@@ -1,45 +0,0 @@
1// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2
3namespace WixToolset.Core.Cab
4{
5 /// <summary>
6 /// Properties of a file in a cabinet.
7 /// </summary>
8 public sealed class CabinetFileInfo
9 {
10 /// <summary>
11 /// Constructs CabinetFileInfo
12 /// </summary>
13 /// <param name="fileId">File Id</param>
14 /// <param name="date">Last modified date (MS-DOS time)</param>
15 /// <param name="time">Last modified time (MS-DOS time)</param>
16 public CabinetFileInfo(string fileId, ushort date, ushort time, int size)
17 {
18 this.FileId = fileId;
19 this.Date = date;
20 this.Time = time;
21 this.Size = size;
22 }
23
24 /// <summary>
25 /// Gets the file Id of the file.
26 /// </summary>
27 /// <value>file Id</value>
28 public string FileId { get; }
29
30 /// <summary>
31 /// Gets modified date (DOS format).
32 /// </summary>
33 public ushort Date { get; }
34
35 /// <summary>
36 /// Gets modified time (DOS format).
37 /// </summary>
38 public ushort Time { get; }
39
40 /// <summary>
41 /// Gets the size of the file in bytes.
42 /// </summary>
43 public int Size { get; }
44 }
45}