'Declaration
Public Overloads Shared Sub CompressZip( _ ByVal output As System.IO.Stream, _ ByVal compressionLevel As ENCompressionLevel, _ ByVal zip64Mode As ENZip64Mode, _ ByVal password As System.String, _ ByVal zipCompressor As INZipCompressor _ )
'Usage
Dim output As System.IO.Stream Dim compressionLevel As ENCompressionLevel Dim zip64Mode As ENZip64Mode Dim password As System.String Dim zipCompressor As INZipCompressor NCompression.CompressZip(output, compressionLevel, zip64Mode, password, zipCompressor)
public static void CompressZip( System.IO.Stream output, ENCompressionLevel compressionLevel, ENZip64Mode zip64Mode, System.string password, INZipCompressor zipCompressor )
Parameters
- output
- The stream to write the compressed data to.
- compressionLevel
- The compression level to apply.
- zip64Mode
- Specifies whether to use Zip64 extensions or not. Zip64 archives can handle files larger than 4GB, but may not be supported by some older archivers.
- 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.