Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
ZipFileEntry.cs
Go to the documentation of this file.
1 // Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2 // This file is distributed under Apache 2.0 License. See LICENSE.md for details.
3 //
4 // --------------------------------------------------------------------------------------------------------------------
5 // <copyright file="ZipFileEntry.cs" company="Matthew Leibowitz">
6 // Copyright (c) Matthew Leibowitz
7 // This code is licensed under the Apache 2.0 License
8 // http://www.apache.org/licenses/LICENSE-2.0.html
9 // </copyright>
10 // <summary>
11 // Represents an entry in Zip file directory
12 // </summary>
13 // --------------------------------------------------------------------------------------------------------------------
14 
15 namespace System.IO.Compression.Zip
16 {
17  /// <summary>
18  /// Represents an entry in Zip file directory
19  /// </summary>
20  public class ZipFileEntry
21  {
22  #region Public Properties
23 
24  /// <summary>
25  /// Gets the user comment for file.
26  /// </summary>
27  public string Comment { get; internal set; }
28 
29  /// <summary>
30  /// Gets the compressed file size.
31  /// </summary>
32  public uint CompressedSize { get; internal set; }
33 
34  /// <summary>
35  /// Gets the 32-bit checksum of entire file.
36  /// </summary>
37  public uint Crc32 { get; internal set; }
38 
39  /// <summary>
40  /// Gets the offset of file inside Zip storage.
41  /// </summary>
42  public uint FileOffset { get; internal set; }
43 
44  /// <summary>
45  /// Gets the original file size.
46  /// </summary>
47  public uint FileSize { get; internal set; }
48 
49  /// <summary>
50  /// Gets the full path and filename as stored in Zip.
51  /// </summary>
52  public string FilenameInZip { get; internal set; }
53 
54  /// <summary>
55  /// Gets the offset of header information inside Zip storage.
56  /// </summary>
57  public uint HeaderOffset { get; internal set; }
58 
59  /// <summary>
60  /// Gets the size of header information.
61  /// </summary>
62  public uint HeaderSize { get; internal set; }
63 
64  /// <summary>
65  /// Gets the compression method.
66  /// </summary>
67  public Compression Method { get; internal set; }
68 
69  /// <summary>
70  /// Gets the last modification time of file.
71  /// </summary>
72  public DateTime ModifyTime { get; internal set; }
73 
74  /// <summary>
75  /// Gets the full path and filename of the containing zip file.
76  /// </summary>
77  public string ZipFileName { get; internal set; }
78 
79  #endregion
80  }
81 }
Represents an entry in Zip file directory
Definition: ZipFileEntry.cs:20
Compression
Compression method enumeration
Definition: Compression.cs:20