Skip to content

Documentation and code examples for IronZIP (ironsoftware.com/csharp/zip)

Notifications You must be signed in to change notification settings

iron-software/IronZip.Examples

Repository files navigation

NugetInstallsPassedwindowslinuxmacOSmicrosoftazuredockerawslivechat

IronZIP - The Comprehensive C# Library for ZIP Archives

IronZIP NuGet Trial Banner Image

IronZIP is a robust library offered by Iron Software, designed specifically for C# developers to manage ZIP archives efficiently and effectively.

IronZIP Highlights:

  • Supports a variety of file types for archiving including Images (jpg, png, gif, tiff, svg, bmp), Text Files, Documents (PDF, DOCX, XLSX), Audio (MP3, WAV), and even nested ZIP files.
  • Offers robust encryption for securing archives: Supports Traditional, AES128, and AES256 standards.
  • Enables access to password-protected ZIP archives.
  • Facilitates the extraction of contents from ZIP, TAR, GZIP, and BZIP2 formats.
  • Provides 9 choices for compression levels.
  • Allows addition of files to existing archives.

Explore more by visiting our website for a comprehensive list of our features and useful code examples.

IronZIP is compatible across various platforms:

  • Compatibility ranges across .NET versions including .NET 8, .NET 7, .NET 6, and .NET 5, Core 2x & 3x, Standard 2, and Framework 4.6.2+
  • Runs on Windows, macOS, Linux, and is deployable on Docker, Azure, and AWS

IronZIP Cross Platform Compatibility Support Image

Our detailed licensing information is readily available online.

How to Use IronZIP

Simply install the IronZIP NuGet package by running:

PM> Install-Package IronZIP

After installation, include using IronZip; at the beginning of your C# files. Here are some example uses:

using IronZip;

// Specify the file path
string file_path = "./archive.zip";
// Extract contents of the archive to a new directory named 'unarchived'
IronZipArchive.ExtractArchiveToDirectory(file_path, "unarchived"); 

// Create and manipulate a new ZIP archive
using (var archive = new IronZipArchive())
{
    // Adding files to the archive
    archive.Add("./assets/doc.pdf");
    archive.Add("./assets/img.png");

    // Save the archive to a file
    archive.SaveAs("./output/archive.zip");
}

Comprehensive Features List

Archive Creation
  • Supported formats include Images (JPG, PNG, GIF, TIFF, SVG, BMP), Text files, and various Document and Audio formats.
Archive Access
  • Open ZIP, TAR, GZIP, and BZIP2 archives.
Archive Export
  • Ability to export to ZIP, TAR, GZIP, and BZIP2 formats.

Licensing & Customer Support

For in-depth tutorials, sample code, and documentation, please visit https://ironsoftware.com/csharp/zip/

Reach out to our support team via [email protected]

Helpful Documentation Links

About

Documentation and code examples for IronZIP (ironsoftware.com/csharp/zip)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages