.NET API for Files Compression & Archiving

Compress file to create archives or Decompress archives of types ZIP, TAR, GZIP, BZ2 from within any .NET based application.

  Download Free Trial
Aspose.ZIP for .NET

Aspose.ZIP for .NET

 
 

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.

 

Advanced .NET Core Compression Library Features

 

 

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

Integrating Compression API in a .NET Application

The compression API integration is simple whereas most of the compress & decompress operations can be performed with just a few lines of code. 

Single file compression - C#

var dir = "full directory path";
using (var archive = new Archive())
{
   archive.CreateEntry("filename.dat", dir+"file.dat");
   archive.Save(dir+"result.zip");
}
 

Support and Learning Resources