Aspose.ZIP for .NET is a flexible documents compression and archive manipulation API for standard ZIP format. API enables .NET applications to achieve files compression/decompression, archiving files as well as folders and encryption of archives. It provides protection via user-defined passwords and traditional encryption using ZipCrypto or AES encryption such as AES128, 192 and AES256.
Easy Integration
Create an archive from one or more files
Add files to archives without compression
Encrypt or decrypt whole archive or specific entries
Add entries to existing archive
Delete entries from existing archive
Compress folder respecting its structure
Decompress to directory respecting archive structure
Compress any size documents by applying parallelism
The compression library integration is simple whereas most of the compress & decompress operations can be performed with just a few lines of code.
var dir = "full directory path";
using (var arch = new Archive())
{
arch.CreateEntry("filename.dat", dir+"file.dat");
arch.Save(dir+"result.zip");
}