MobileForms Toolkit Documentation

ZipStream.Close Method 

Closes the zipper and releases any resources associated with the current stream.

public override void Close();

Remarks

This method overrides Close.

Any data previously written to the buffer is copied to the underlaying stream before the stream is closed, so it is not necessary to call Flush before invoking Close. Following a call to Close, any operations on the stream might raise exceptions. After Closehas been called once, it does nothing if called again.

This method does not close underlaying stream. So after closing ZipStream, you must close also main stream.

See Also

ZipStream Class | Resco.IO.Zip Namespace