Some of the main features of Zip for .NET that you may find useful include the following:
With Zip for .NET, you can:
With Zip you can easily compress and expand folders while preserving folder structure.
Zip can read and write to zip files stored in streams in addition to actual files using the C1ZipFile.Open(Stream) method. This allows reading zip files embedded in application resources or stored in database fields instead of in actual files.
Easily obtain zip file information including a detailed list of the zip file's contents. You can also control file information by adding and retrieving comments and control path information for individual entries in the zip file, and getting and setting the global zip file comment.
With Zip you can test the integrity of a zip file and its contents and work on temporary copies of zip files to ensure maximum safety.
Compress files, including system and hidden files, and easily manipulate compressed files by deleting files from within a zip file, controlling the amount of compression applied to files being zipped, and specifying the path where files will be uncompressed to.
ZLIB is a general-purpose, lossless data-compression library with a portable, cross-platform data format. Unlike Unix compress and GIF image format LZW compression, the ZLIB compression method essentially never expands the data (LZW doubles or triples the file size in extreme cases) and has a memory footprint independent of input data.
C1Zip now supports Zip64 files. This allows for entries longer than the usual 4 gig limit and also allows more entries per zip file. The maximum number of entries per ZIP file is 2,147,483,647 (int.MaxValue). The maximum uncompressed entry size is 9,223,372,036,854,775,807 (long.MaxValue).
The low memory compression engine lets you:
C1.C1Zip.ZLib is a C# implementation of Adler and Gailly's ZLIB code and contains a main class ZStream that handles stream-based compression and decompression. ZLIB handles the actual data compression and decompression.
ZLIB is designed to be a free, general-purpose, lossless data-compression library for use on virtually any computer hardware and operating system. The ZLIB data format is itself portable across platforms. Unlike the LZW compression method used in Unix compress and in the GIF image format, the compression method currently used in ZLIB essentially never expands the data. (LZW can double or triple the file size in extreme cases.) ZLIB's memory footprint is also independent of the input data.
Zip for .NET contains three main classes: