ZipFile.GetInputStream Method (ZipEntry)

SharpZip Compression Library

SharpZip Compression Library

ZipFile.GetInputStream Method (ZipEntry)

Creates an input stream reading the given zip entry as uncompressed data. Normally zip entry should be an entry returned by GetEntry().

public Stream GetInputStream(
   ZipEntry entry
);

Return Value

the input stream.

Exceptions

Exception Type Condition
InvalidOperationException The ZipFile has already been closed
ZipException The compression method for the entry is unknown
IndexOutOfRangeException The entry is not found in the ZipFile

See Also

ZipFile Class | ICSharpCode.SharpZipLib.Zip Namespace | ZipFile.GetInputStream Overload List