/* libmspack -- a library for working with Microsoft compression formats. * (C) 2003-2019 Stuart Caie * * libmspack is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License (LGPL) version 2.1 * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ namespace LibMSPackSharp.CAB { /// /// A structure which represents a single file in a cabinet or cabinet set. /// /// All fields are READ ONLY. /// public class InternalFile { /// /// The next file in the cabinet or cabinet set, or NULL if this is the final file. /// public InternalFile Next { get; set; } /// /// The filename of the file. /// /// A null terminated string of up to 255 bytes in length, it may be in /// either ISO-8859-1 or UTF8 format, depending on the file attributes. /// /// public string Filename { get; set; } /// /// The uncompressed length of the file, in bytes. /// public uint Length { get; set; } /// /// File attributes. /// public FileAttributes Attributes { get; set; } /// /// File's last modified time, hour field. /// public byte LastModifiedTimeHour { get; set; } /// /// File's last modified time, minute field. /// public byte LastModifiedTimeMinute { get; set; } /// /// File's last modified time, second field. /// public byte LastModifiedTimeSecond { get; set; } /// /// File's last modified date, day field. /// public byte LastModifiedDateDay { get; set; } /// /// File's last modified date, month field. /// public byte LastModifiedDateMonth { get; set; } /// /// File's last modified date, year field. /// public int LastModifiedDateYear { get; set; } /// /// A pointer to the folder that contains this file. /// public Folder Folder { get; set; } /// /// The uncompressed offset of this file in its folder. /// public uint Offset { get; set; } } }