.NET API for compressing and archiving files

Manage ZIP archives and compress and decompress files in any .NET-based application

 

 

 

 

 

Aspose.ZIP for .NET is a flexible API for compressing documents and managing archives for the standard ZIP format. The API allows .NET applications to achieve file compression/decompression, file archiving, as well as folder and archive encryption. It provides protection with user passwords and traditional encryption using ZipCrypto or AES encryption such as AES128, 192, and AES256.

 

An overview of Aspose.ZIP for the .NET API.

 

Compression / Decompression Protection
  • Compress catalogs
  • Unzip files and folders
  • Compile an archive
  • Add files to archive
  • Delete entries from archives

Aspose.ZIP
for .NET

  • User passwords
  • ZipCrypto Encryption
  • AES encryption

 

Aspose.ZIP for .NET supports standard ZIP file formats.

 

Input only  Output only
  • Compression: Files, Archives
  • Decompression: ZIP, TAR, GZIP, BZ2

Aspose.ZIP
for .NET

  • Compressed: ZIP, TAR, GZIP, BZ2
  • Uncompressed: Files, Archives

 

Aspose.ZIP for .NET supports any .NET platform since Standard 2.0 and can run on 32-bit systems. 64-bit operating rooms

 

.NET Framework Aspose.ZIP
for .NET
.NET Core

 

Advanced features of the .NET Zipping API

 

Easy integration Create an archive from one or more files Add files to archives without compression
Encrypt the entire archive or specific records Decrypt the entire archive or specific records Add records to an existing archive
Delete records from an existing archive Shrink a folder to fit its structure Unpack into a directory that corresponds to the archive structure
Compress documents of any size using parallelism

 

ZIP API Integration
Zip API integration is simple for all its functions. Here are just a few lines of code to compress a single file.

Single File Compression – C#:

using (var archive = new Archive())
{
archive.CreateEntry(“filename.dat”, “Path\To\file.dat”));
archive.Save(“Path\To\result.zip”);
}