[
  {
    "Id": "520967",
    "ThreadId": "234417",
    "Html": "\r\n<p>I have just downloaded the 1.9 SDK and while trying to use several of the C# examples that used the Extract(string, stream) does not seem to exist. I have the name space added and the code snippet I am trying to use is as follows:</p>\r\n<p></p>\r\n<div style=\"color:black; background-color:white\">\r\n<pre><span style=\"color:blue\">using</span> Ionic.Zip;\r\n<span style=\"color:blue\">static</span> <span style=\"color:blue\">void</span> ZipStream(Stream _inputStream, Stream _outputStream)\r\n{\r\n   <span style=\"color:blue\">using</span> (<span style=\"color:blue\">var</span> zip = ZipFile.Read(_inputStream))\r\n   {\r\n      zip.Extract(<span style=\"color:#a31515\">&quot;NameOfEntryInArchive.doc&quot;</span>, _outputStream);\r\n   }\r\n}\r\n\r\n<br>I am linking against/referencing the full 1.9 debug DLL. My problem is that it would seem that there is no longer an Extract method in the assembly. Currently trying to use the lib with VS2010 not sure if that is part of my problem. <br><br>Either way any help with this would be appreciated.<br><br>Thank you.</pre>\r\n</div>\r\n<p></p>\r\n",
    "PostedDate": "2010-11-12T01:53:27.673-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "521017",
    "ThreadId": "234417",
    "Html": "\r\n<p>Yes, the method has been removed.&nbsp; The method you want is <a href=\"http://cheeso.members.winisp.net/DotNetZipHelp/html/ff313974-c4ac-2587-358d-11aaf9a91af8.htm\">\r\nZipEntry.Extract</a>.&nbsp; To retrieve an entry&nbsp; by name, use the string selector.&nbsp; like this:</p>\r\n<div style=\"color:black; background-color:white\">\r\n<pre><span style=\"color:blue\">using</span> Ionic.Zip;\r\n<span style=\"color:blue\">static</span> <span style=\"color:blue\">void</span> ZipStream(Stream _inputStream, Stream _outputStream)\r\n{\r\n   <span style=\"color:blue\">using</span> (<span style=\"color:blue\">var</span> zip = ZipFile.Read(_inputStream))\r\n   {\r\n      zip[<span style=\"color:#a31515\">&quot;NameOfEntryInArchive.doc&quot;</span>].Extract(_outputStream);\r\n   }\r\n}\r\n\r\n\r\n</pre>\r\n</div>\r\n<p>Show me where you found that sample code, and I Will correct it.</p>\r\n<p>&nbsp;</p>\r\n<p>&nbsp;</p>\r\n",
    "PostedDate": "2010-11-12T03:59:38.687-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "521319",
    "ThreadId": "234417",
    "Html": "\r\n<p>This was the page that I used. Very near the bottom but most of the examples that extract use the old method.</p>\r\n<p><a href=\"Examples\">http://dotnetzip.codeplex.com/wikipage?title=CS-Examples&amp;referringTitle=Examples</a></p>\r\n<p>&nbsp;</p>\r\n<p>Thank you for your prompt response. I believe that the online documentation also uses the old method a number of times as well. I will be in and out of there so if I find more issues I will link you.</p>\r\n<p>&nbsp;</p>\r\n<p>Nice work on the lib looking forward to using it.</p>\r\n",
    "PostedDate": "2010-11-12T14:59:59.877-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "521401",
    "ThreadId": "234417",
    "Html": "\r\n<p>Thanks - I've looked there and found one example that uses the old method.&nbsp; I've fixed it.&nbsp; If you see other old example code, I'd appreciated it if you could let me know.</p>\r\n<p>Also thanks for the compliments.</p>\r\n<p>Good luck with the library.&nbsp;</p>\r\n<p>&nbsp;</p>\r\n",
    "PostedDate": "2010-11-12T22:29:41.89-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]