Streams!

Apr 1, 2011 at 8:20 PM

I have some problems working with the streams, the examples show some funcionality that is not in the library, for example ther is no Extract funtion, just the extract all:

1using (ZipFile zip = ZipFile.Read(InputStream))

2{

3 zip.Extract("NameOfEntryInArchive.doc", OutputStream);

4}

 

Do you know what going on?

Coordinator
Apr 4, 2011 at 7:04 PM

Yes, I think you are using an example that worked for an older version of the library.

The corresponding code you want is probably :

zip["NameOfEntryInArchive.doc"].Extract(outputStream)

If you tell me where you found the example with the older code, I'll try to get it updated.