// 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. namespace WixToolset { using System; /// /// Properties of a file in a cabinet. /// internal sealed class CabinetFileInfo { private string fileId; private ushort date; private ushort time; private int size; /// /// Constructs CabinetFileInfo /// /// File Id /// Last modified date (MS-DOS time) /// Last modified time (MS-DOS time) public CabinetFileInfo(string fileId, ushort date, ushort time, int size) { this.fileId = fileId; this.date = date; this.time = time; this.size = size; } /// /// Gets the file Id of the file. /// /// file Id public string FileId { get { return this.fileId; } } /// /// Gets modified date (DOS format). /// public ushort Date { get { return this.date; } } /// /// Gets modified time (DOS format). /// public ushort Time { get { return this.time; } } /// /// Gets the size of the file in bytes. /// public int Size { get { return this.size; } } } }