Finding and Unzipping a specific file using the ZipReader class
I need to extract the contents of a specific file in a zip archive using the ZipReader class directly into memory but the API does not seem to allow “finding” a file and then reading the contents. Is this possible? If so, would please provide a code snippet showing how to do this using the ZipReader class.
This needs to be done WITHOUT making a call to ReadItemData with Stream.Null as shown here:
_zipReader.ReadItemData(Stream.Null, _buffer, 0, BUFFER_SIZE);