[
  {
    "Id": "267594",
    "ThreadId": "78219",
    "Html": "<p>Warning&nbsp;1&nbsp;'Ionic.Zip.ZipFile.Extract(string)' is obsolete: 'Please use method ZipEntry.Extract()'&nbsp;</p>\r\n<p>Version 1.8.4.28</p>\r\n<p>Am I missing something here?</p>\r\n<p>It seems the ZipEntry.Extract method is not as flexible</p>\r\n<p>Im trying to unzip a file to a specific directory</p>\r\n<p>&nbsp;</p>\r\n<p>&nbsp;</p>",
    "PostedDate": "2009-12-15T07:55:02.563-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "267639",
    "ThreadId": "78219",
    "Html": "<p>yes, obsolete. In what regard is ZipEntry.Extract() not as flexible?</p>\r\n<p><a href=\"http://cheeso.members.winisp.net/DotNetZipHelp/html/cbc1a410-86a4-1b58-64b6-3a6686098859.htm\">ZipEntry.Extract(directory)</a>&nbsp; works, no?</p>\r\n<p>&nbsp;</p>",
    "PostedDate": "2009-12-15T10:00:43.7-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "267645",
    "ThreadId": "78219",
    "Html": "<p>Here is a sample of what I am trying to do...Im trying to zip directory D:\\ExtData into a zip file then at a later time unzip this file</p>\r\n<p>to D:\\Test directory</p>\r\n<p><span style=\"font-size:x-small;color:#008080\"><span style=\"font-size:x-small;color:#008080\">&lt;font size=&quot;2&quot; color=&quot;#008080&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;#008080&quot;&gt;\r\n<p>ZipFile</p>\r\n&lt;/font&gt;&lt;/font&gt;</span>&lt;font size=&quot;2&quot; color=&quot;#008080&quot;&gt;\r\n<p>&nbsp;</p>\r\n&lt;/font&gt;</span>\r\n<p><span style=\"font-size:x-small\">zip = </span><span style=\"font-size:x-small;color:#0000ff\"><span style=\"font-size:x-small;color:#0000ff\">new</span></span><span style=\"font-size:x-small\"> </span><span style=\"font-size:x-small;color:#008080\"><span style=\"font-size:x-small;color:#008080\">ZipFile</span></span><span style=\"font-size:x-small\">();</span></p>\r\n</p>\r\n<p><span style=\"font-size:x-small\">&lt;font size=&quot;2&quot;&gt;\r\n<p>zip.AddDirectory(</p>\r\n&lt;/font&gt;</span>\r\n<p><span style=\"font-size:x-small;color:#800000\"><span style=\"font-size:x-small;color:#800000\">&quot;D:\\\\ExtData&quot;</span></span><span style=\"font-size:x-small\">);</span></p>\r\n</p>\r\n<p><span style=\"font-size:x-small\">&lt;font size=&quot;2&quot;&gt;\r\n<p>zip.Save(</p>\r\n&lt;/font&gt;</span>\r\n<p><span style=\"font-size:x-small;color:#800000\"><span style=\"font-size:x-small;color:#800000\">&quot;D:\\\\Data\\\\Test.zip&quot;</span></span><span style=\"font-size:x-small\">);</span></p>\r\n<p>Works Great.... But..Next?</p>\r\n</p>\r\n<p><span style=\"font-size:x-small\">\r\n<p>&nbsp;</p>\r\n</span><span style=\"font-size:x-small;color:#008000\"><span style=\"font-size:x-small;color:#008000\">//ZipFile unzip1 = ZipFile.Read(&quot;D:\\\\Data\\\\Test.zip&quot;);</span></span></p>\r\n<p>\r\n<p><span style=\"font-size:x-small;color:#008000\"><span style=\"font-size:x-small;color:#008000\">//unzip1.Extract(&quot;D:\\\\TestDir&quot;);</span></span></p>\r\n</p>\r\n<p><span style=\"font-size:x-small;color:#008000\"><span style=\"font-size:x-small;color:#008000\">\r\n<p>//ZipEntry unzip1 = new ZipEntry();</p>\r\n<span style=\"font-size:x-small;color:#008000\"><span style=\"font-size:x-small;color:#008000\">\r\n<p>//unzip1.Extract(&quot;D:\\\\Data\\\\Test.zip&quot;);</p>\r\n</span></span></span></span></p>\r\n<p>&nbsp;</p>",
    "PostedDate": "2009-12-15T10:34:29.65-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "267675",
    "ThreadId": "78219",
    "Html": "<p>After continued attempts I finally got it....</p>\r\n<p>ZipFile zip = new Zipfile();</p>\r\n<p>zip.AddDirectory(&quot;D:\\\\ExtData&quot;);</p>\r\n<p>zip.Save(&quot;D:\\\\Data\\\\Test.zip&quot;);</p>\r\n<p>--- All good to this pint -----</p>\r\n<p>-- To unzip later ----</p>\r\n<p>ZipFile unzip1 = ZipFile.Read(&quot;D:\\\\Data\\\\Test.zip&quot;);</p>\r\n<p>foreach(ZipEntry test1 in unzip1)</p>\r\n<p>&nbsp;&nbsp;&nbsp; test1.Extract(D:\\\\TestDir&quot;);</p>\r\n<p>---All Files &amp; SubDirectory extracted as expected-----</p>\r\n<p>Thanks for work on this...I am just getting started with this..I will be expanding my usage of this code...</p>\r\n<p>&nbsp;</p>",
    "PostedDate": "2009-12-15T11:42:43.74-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "267680",
    "ThreadId": "78219",
    "Html": "<p>Great, glad you got it sorted!</p>\r\n<p>I'm glad to help.</p>\r\n<p>&nbsp;</p>",
    "PostedDate": "2009-12-15T11:58:47.463-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]