ZipOutputStream.Finish Method

IC Sharp Sharp Zip Lib

ICSharpCode SharpZipLib Class Library

ZipOutputStream.Finish Method 

Finishes the stream. This will write the central directory at the end of the zip file and flush the stream.

public override void Finish();

Remarks

This is automatically called when the stream is closed.

Exceptions

Exception Type Condition
IOException An I/O error occurs.
ZipException Comment exceeds the maximum length
Entry name exceeds the maximum length

See Also

ZipOutputStream Class | ICSharpCode.SharpZipLib.Zip Namespace