[
  {
    "Id": "707698",
    "ThreadId": "281882",
    "Html": "\r\n<p></p>\r\n<div style=\"color:black; background-color:white\">\r\n<pre><span style=\"color:blue\">I can't seem to read a valid Creation, Modified or Accessed time... It always returns:  </span>1/1/0001 12:00:00 AM<br><span style=\"color:blue\">NOTE:  THE ZIP FILE WAS CREATED ON A LINUX BASED CONTROLLER USING 7ZA.<br><br>Here's a piece of sample code.<br><br><br><br>using</span> System;\r\n<span style=\"color:blue\">using</span> System.Collections.Generic;\r\n<span style=\"color:blue\">using</span> System.Linq;\r\n<span style=\"color:blue\">using</span> System.Text;\r\n<span style=\"color:blue\">using</span> Ionic.Zip;\r\n\r\n<span style=\"color:blue\">namespace</span> zipdotnet\r\n{\r\n    <span style=\"color:blue\">class</span> Program\r\n    {\r\n        <span style=\"color:blue\">static</span> <span style=\"color:blue\">void</span> Main(<span style=\"color:blue\">string</span>[] args)\r\n        {\r\n            <span style=\"color:blue\">string</span> zipToUnpack = <span style=\"color:#a31515\">@&quot;C:\\trash\\testdata.zip&quot;</span>;\r\n            <span style=\"color:blue\">using</span> (ZipFile zip1 = ZipFile.Read(zipToUnpack))\r\n            {\r\n                <span style=\"color:blue\">foreach</span> (ZipEntry e <span style=\"color:blue\">in</span> zip1)\r\n                {\r\n                    System.Console.WriteLine(e.FileName.ToString()\r\n                        &#43; <span style=\"color:#a31515\">&quot;  &quot;</span> &#43; e.CreationTime\r\n                        &#43; <span style=\"color:#a31515\">&quot;  &quot;</span> &#43; e.ModifiedTime\r\n                        &#43; <span style=\"color:#a31515\">&quot;  &quot;</span> &#43; e.AccessedTime\r\n                        );\r\n                }\r\n            }\r\n            System.Console.ReadKey();\r\n        }\r\n    }\r\n}\r\n\r\n</pre>\r\n</div>\r\n<p></p>\r\n<p>&nbsp;</p>\r\n<pre><span style=\"color:blue\"><br>The following is one row of the result of the above.<br></span>TestData_2011_11_23_02_25_31_480B.log&nbsp; 1/1/0001 12:00:00 AM&nbsp; <strong>1/1/0001 12:00:00 AM</strong>&nbsp; 1/1/0001 12:00:00 AM<br><br>Using Windows Explorer to explore the .zip, I see a modified data of <strong>11/29/2011 3:25 PM</strong><br><br><br>Really nice library...  Keep up the good work.<br><br>I've looked through the Discussions, Documentation and Issue Tracker without success.<br><br></pre>\r\n",
    "PostedDate": "2011-12-05T11:27:22.757-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]