Accessing Creation Time, Modified Time and Accessed Time

Dec 5, 2011 at 7:27 PM

I can't seem to read a valid Creation, Modified or Accessed time... It always returns:  1/1/0001 12:00:00 AM
NOTE: THE ZIP FILE WAS CREATED ON A LINUX BASED CONTROLLER USING 7ZA.

Here's a piece of sample code.



using
System; using System.Collections.Generic; using System.Linq; using System.Text; using Ionic.Zip; namespace zipdotnet { class Program { static void Main(string[] args) { string zipToUnpack = @"C:\trash\testdata.zip"; using (ZipFile zip1 = ZipFile.Read(zipToUnpack)) { foreach (ZipEntry e in zip1) { System.Console.WriteLine(e.FileName.ToString() + " " + e.CreationTime + " " + e.ModifiedTime + " " + e.AccessedTime ); } } System.Console.ReadKey(); } } }

 


The following is one row of the result of the above.
TestData_2011_11_23_02_25_31_480B.log  1/1/0001 12:00:00 AM  1/1/0001 12:00:00 AM  1/1/0001 12:00:00 AM

Using Windows Explorer to explore the .zip, I see a modified data of 11/29/2011 3:25 PM


Really nice library... Keep up the good work.

I've looked through the Discussions, Documentation and Issue Tracker without success.