The methods of the ZipOutputStream class are listed below. For a complete list of ZipOutputStream class members, see the ZipOutputStream Members topic.
Public Instance Methods
![]() | Asynchronous reads are not supported a NotSupportedException is always thrown |
![]() | Asynchronous writes arent supported, a NotSupportedException is always thrown |
![]() | Calls Finish and closes the underlying stream when IsStreamOwner is true. |
![]() | Closes the current entry, updating header and footer information as required |
![]() | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. |
![]() | Waits for the pending asynchronous read to complete. |
![]() | Ends an asynchronous write operation. |
![]() | Determines whether the specified Object is equal to the current Object. |
![]() | Finishes the stream. This will write the central directory at the end of the zip file and flush the stream. |
![]() | Flushes the stream by calling flush() on the deflater and then on the underlying stream. This ensures that all bytes are flushed. |
![]() | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
![]() | Get the current deflate compression level |
![]() | Retrieves the current lifetime service object that controls the lifetime policy for this instance. |
![]() | Gets the Type of the current instance. |
![]() | Obtains a lifetime service object to control the lifetime policy for this instance. |
![]() | Starts a new Zip entry. It automatically closes the previous entry if present. All entry elements bar name are optional, but must be correct if present. If the compression method is stored and the output is not patchable the compression for that entry is automatically changed to deflate level 0 |
![]() | Read a block of bytes from stream |
![]() | Read a byte from stream advancing position by one |
![]() | Sets the current position of this stream to the given value. Not supported by this class! |
![]() | Set the zip file comment. |
![]() | Sets the length of this stream to the given value. Not supported by this class! |
![]() | Sets default compression level. The new level will be activated immediately. |
![]() | Returns a String that represents the current Object. |
![]() | Writes the given buffer to the current entry. |
![]() | Writes a single byte to the compressed output stream. |
Protected Instance Methods
![]() | Allocates a WaitHandle object. |
![]() | Deflates everything in the input buffers. This will call def.deflate()until all bytes from the input buffers are processed. |
![]() | Encrypt a block of data |
![]() | Encrypt a single byte |
![]() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
![]() | Initializes encryption keys based on given password |
![]() | Creates a shallow copy of the current Object. |
![]() | Update encryption keys |
See Also
ZipOutputStream Class | ICSharpCode.SharpZipLib.Zip Namespace