ZipInputStream.GetNextEntry Method

IC Sharp Sharp Zip Lib

ICSharpCode SharpZipLib Class Library

ZipInputStream.GetNextEntry Method 

Advances to the next entry in the archive

public ZipEntry GetNextEntry();

Return Value

The next entry in the archive or null if there are no more entries.

Remarks

If the previous entry is still open CloseEntry is called.

Exceptions

Exception Type Condition
InvalidOperationException Input stream is closed
ZipException Password is not set, password is invalid, compression method is invalid, version required to extract is not supported

See Also

ZipInputStream Class | ICSharpCode.SharpZipLib.Zip Namespace