[
  {
    "Id": "612541",
    "ThreadId": "257567",
    "Html": "\r\n<p>is it possible to read data within a text file that is zipped without unzipping the file using dotnetzip?</p>\r\n<p>for example, I can get the name of the file, but how to open it and read it w/o unzipping it?</p>\r\n<p><span style=\"color:#0000ff; font-size:x-small\"><span style=\"color:#0000ff; font-size:x-small\"><span style=\"color:#0000ff; font-size:x-small\"><span style=\"color:#0000ff; font-size:x-small\"><span style=\"color:#0000ff; font-size:x-small\"><font size=\"2\" color=\"#0000ff\"></p>\r\n<p>for</p>\r\n</font></span></span><span style=\"color:#0000ff; font-size:x-small\"><span style=\"color:#0000ff; font-size:x-small\">each</span></span><span style=\"font-size:x-small\"> (ZipEntry ^e\r\n</span><span style=\"color:#0000ff; font-size:x-small\"><span style=\"color:#0000ff; font-size:x-small\">in</span></span><span style=\"font-size:x-small\"> zip)\r\n</span></span></span></span><span style=\"font-size:x-small\"></span>\r\n<p></p>\r\n<p></p>\r\n<p>{<span style=\"font-size:x-small\">&nbsp;</span></p>\r\n<span style=\"color:#0000ff; font-size:x-small\"><span style=\"color:#0000ff; font-size:x-small\">if</span></span><span style=\"font-size:x-small\"> (e-&gt;FileName-&gt;EndsWith(</span><span style=\"color:#800000; font-size:x-small\"><span style=\"color:#800000; font-size:x-small\">&quot;.txt&quot;</span></span><span style=\"font-size:x-small\">))</span>\r\n<p></p>\r\n<p><span style=\"font-size:x-small\"></p>\r\n<p>{</p>\r\n<p>ChannelNames[ChannelCount] = e-&gt;FileName;</p>\r\n<p>// in here I need to read the data from the file</p>\r\n<p>ChannelCount&#43;&#43;;</p>\r\n<p>}</p>\r\n<p>}</p>\r\n<p>&nbsp;</p>\r\n<p>Thanks!</p>\r\n</span>\r\n<p></p>\r\n",
    "PostedDate": "2011-05-13T11:54:30.677-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "615441",
    "ThreadId": "257567",
    "Html": "<p>I'm not clear on what you mean by \"read it without unzipping it\".&nbsp; I think you mean \"...without creating a filesystem file\".</p>\r\n<p>Yes, that is possible. You can extract to a stream, or you can open a readable stream for an entry.&nbsp; See the documentation for the ZipEntry.Extract()&nbsp; method that takes a Stream parameter.</p>\r\n<p>&nbsp; <a href=\"http://cheeso.members.winisp.net/DotNetZipHelp/html/8e64cfe0-5dfc-2682-2c10-cb840ed3bfa1.htm\">http://cheeso.members.winisp.net/DotNetZipHelp/html/8e64cfe0-5dfc-2682-2c10-cb840ed3bfa1.htm</a></p>",
    "PostedDate": "2011-05-19T12:16:43.663-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]