This project is read-only.

read extraction in memory

Sep 29, 2011 at 6:50 PM

Hi Guys,

I see that you can extract contents and save them to a file.  However I would like to able read the contents of the file in memory without having to save and then delete the physical file.  Is there a way to do it?



Oct 3, 2011 at 12:12 AM

Yes - there's a method called OpenReader() on the ZipEntry class. Call it to get a stream that reads uncompressed data for a given entry.  What you do with the data you read is up to you.  There are examples for how to use it in the documentation, which is available in the DotNetZip devkit download, or  online at