'Declaration
Public Overloads Shared Sub CompressZip( _ ByVal output As System.IO.Stream, _ ByVal compressionLevel As ENCompressionLevel, _ ByVal password As System.String, _ ByVal zipCompressor As INZipCompressor _ )
'Usage
Dim output As System.IO.Stream Dim compressionLevel As ENCompressionLevel Dim password As System.String Dim zipCompressor As INZipCompressor NCompression.CompressZip(output, compressionLevel, password, zipCompressor)
public static void CompressZip( System.IO.Stream output, ENCompressionLevel compressionLevel, System.string password, INZipCompressor zipCompressor )
Parameters
- output
- The stream to write the compressed data to.
- compressionLevel
- The compression level to apply.
- password
- The password to encrypt the ZIP stream with. Pass null if you don't want to encrypt the ZIP archive.
- zipCompressor
- An interface implementation that should determine the streams to compress and their names.