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
15 IntPtr internalFileAttributes;
16 IntPtr externalFileAttributes;
18 public DateTime FileTime
20 get { return date.Date; }
25 get { return dosDate.ToInt64 (); }
28 internal long InternalFileAttributes
30 get { return internalFileAttributes.ToInt64 (); }
33 internal long ExternalFileAttributes
35 get { return externalFileAttributes.ToInt64 (); }
38 public ZipFileInfo (DateTime fileTime)
40 date = new ZipTime (fileTime);
41 dosDate = new IntPtr ((int)fileTime.ToFileTime ());
42 internalFileAttributes = IntPtr.Zero;
43 externalFileAttributes = IntPtr.Zero;