Hi Adam,
ZipReader will not Seek() in the stream so that non-seekable streams, like network streams for example, work well.
If you want to skip an item’s data, you can always dump that item’s data into a dummy stream. Like this:
localHeader = zipReader.ReadItemLocalHeader();
zipReader.ReadItemData( Stream.Null );
localHeader = zipReader.ReadItemLocalHeader();
// etc…
ReadItemData() has flavors that accept a stream object. There, it will read the item’s data until it reached the end.
Imported from legacy forums. Posted by Diane [Xceed] (had 1321 views)