[
  {
    "Id": "683385",
    "ThreadId": "275656",
    "Html": "\r\n<p>I'm a new user, so perhaps I've misread the docs, but it appears that these methods (on the ZipEntry type) don't work when applied to a ZipEntry which was obtained from a ZipInputStream (as opposed to a ZipFile). When I use these methods I get an InvalidOperationException,\r\n complaining &quot;Use OpenReader() only with ZipFile&quot; (or &quot;Use Extract() only with ZipFile).</p>\r\n<p>Is there a way to extract an entry from a Zip archive obtained via a ZipInputStream rather than an actual file?</p>\r\n<p>I'm using&nbsp;DotNetZipLib-DevKit-v1.9 which I have just downloaded from CodePlex.</p>\r\n<p>Thanks in advance for any help with this...</p>\r\n<p>Bill</p>\r\n",
    "PostedDate": "2011-10-12T14:10:14.11-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "683869",
    "ThreadId": "275656",
    "Html": "<p>Yes, you've missed it.</p>\r\n<p>As the exception tells you: you may not call OpenReader() or Extract() on a ZipEntry obtained from a ZipInputStream.&nbsp; If you want to understand why, the documentation includes a clear and complete discussion of the issue. The metaphor for ZipInputStream is a stream - read it and you read uncompressed data.</p>\r\n<p>Check the reference documentation of the ZipInputStream constructor for a clear, simple example showing&nbsp;how to use ZipInputStream to extract an entry from a Zip file.&nbsp;</p>\r\n<p>&nbsp;</p>",
    "PostedDate": "2011-10-13T11:38:04.567-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]