1 // ZipFileInfo.cs created with MonoDevelop
2 // User: alan at 12:14 13/10/2008
4 // To change standard headers go to Edit->Preferences->Coding->Standard Headers
8 using System.Runtime.InteropServices;
12 [StructLayoutAttribute (LayoutKind.Sequential)]
17 IntPtr internalFileAttributes;
18 IntPtr externalFileAttributes;
20 public DateTime FileTime
22 get { return date.Date; }
27 get { return dosDate.ToInt64 (); }
30 internal long InternalFileAttributes
32 get { return internalFileAttributes.ToInt64 (); }
35 internal long ExternalFileAttributes
37 get { return externalFileAttributes.ToInt64 (); }
40 public ZipFileInfo (DateTime fileTime)
42 date = new ZipTime (fileTime);
43 dosDate = IntPtr.Zero;
44 internalFileAttributes = IntPtr.Zero;
45 externalFileAttributes = IntPtr.Zero;