Aspose.Zip
20.9.0
See the version list below for details.
Install-Package Aspose.Zip -Version 20.9.0
dotnet add package Aspose.Zip --version 20.9.0
<PackageReference Include="Aspose.Zip" Version="20.9.0" />
paket add Aspose.Zip --version 20.9.0
#r "nuget: Aspose.Zip, 20.9.0"
// Install Aspose.Zip as a Cake Addin
#addin nuget:?package=Aspose.Zip&version=20.9.0
// Install Aspose.Zip as a Cake Tool
#tool nuget:?package=Aspose.Zip&version=20.9.0
.NET API to Manipulate Zipped Archives
It is a standalone .NET API to create, manipulate, extract & protect archive formats including ZIP, BZIP, BZ2 & TAR.
Aspose.ZIP for .NET class library allows your .NET applications to compress/decompress files and folders without getting into the complexity of coding new compression algorithms or understanding the existing ones. Enable your programs to work with a vast range of features, such as creating archives, saving archives, archive extraction, encrypting/decrypting archives, compressing single or multiple files as well as directory contents. It also allows you to apply security to your archived and compressed files and folders via password, AES (128, 192, 256) encryption, or mixed encryption.
Archive Processing Features
- Compress files and folders into standard ZIP formats.
- Supports Deflate,
Bzip2
&LZMA
compression algorithms. - Apply simple password or
AES128
,AES192
,AES256
encryption to archives. - Employ different protection schemes for each file within an archive.
- Append more files to an existing zipped archive.
- Use
Gzip
orBzip2
to pack files & folders into aTAR
archive. - Supports
LZMA
orLZMA2
compression & optional encryption to create7z
archives. - Create self-extracting compressed archives.
New Features & Enhancements 
- Supports the extraction of encrypted
RAR5
archives.
Please visit Aspose.ZIP for .NET 20.9 Release Notes for the detailed notes.
Compress Files As
Compression: ZIP, TAR, GZIP, BZ2, 7z (within the LZMA
& LZMA2
algorithms)
Read Archives
Decompression: ZIP, TAR, GZIP, BZ2
Platform Independence
Aspose.ZIP for .NET is implemented using Managed C# and can be used with any .NET language like C#, VB.NET, F#, and so on. It can be integrated with any kind of .NET application, from ASP.NET web applications to Windows .NET applications.
Getting Started with Aspose.ZIP for .NET
Are you ready to give Aspose.ZIP for .NET a try? Simply execute Install-Package Aspose.Zip
from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have Aspose.ZIP for .NET and want to upgrade the version, please execute Update-Package Aspose.Zip
to get the latest version.
Compress DAT as ZIP using C# Code
You can execute the following code snippet to see how Aspose.ZIP API works in your environment or check the GitHub Repository for other common usage scenarios.
using (var arch = new Archive())
{
arch.CreateEntry("filename.dat", dir + "file.dat");
arch.Save(dir + "result.zip");
}
Create 7z Archive with AES Encryption
Aspose.Zip for .NET allows you to apply password protection and encryption to zipped archives. The following C# code sample demonstrates the creation of a Seven Zip file with AES encryption setting.
using (var archive = new SevenZipArchive(new SevenZipEntrySettings(null, new SevenZipAESEncryptionSettings("p@s$"))))
{
archive.CreateEntry("data.bin", new MemoryStream(new byte[] { 0x00, 0xFF }));
archive.Save("archive.7z");
}
Home | Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Temporary License
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows |
.NET Core | netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard2.0 netstandard2.1 |
.NET Framework | net20 net35 net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen40 tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
-
.NETStandard 2.0
- System.Drawing.Common (>= 4.5.1)
- System.Text.Encoding.CodePages (>= 4.5.0)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Aspose.Zip:
Package | Downloads |
---|---|
Aspose.Total
Aspose.Total for .NET is the most complete package of all .NET file format APIs offered by Aspose. It empowers developers to create, edit, render, print and convert between a wide range of popular document formats within any .NET, C#, ASP.NET and VB.NET applications. |
|
Conholdate.Total
Conholdate.Total for .NET is a complete package to work with a large number of file formats from Microsoft Word, Excel, PowerPoint, Outlook, Project, Visio, Adobe Acrobat, Illustrator, Photoshop, AutoCAD, OpenOffice and many more. Conholdate.Total for .NET allows you to use any API released under Aspose and GroupDocs for .NET in order to create, convert, read, edit, update and print popular document formats. Moreover, you may view, annotate, watermark, assemble, classify, search, redact, parse, merge and compare documents without needing to install the native applications. It helps you in file format manipulation and document automation via simple API. Conholdate.Total for .NET also includes specialized APIs to read and create barcodes, extract text from images using OCR as well as extract human marked data from questioners, surveys, quizzes, MCQ papers and feedback forms. |
|
Backups
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
22.5.0 | 0 | 5/28/2022 |
22.3.0 | 5,796 | 3/19/2022 |
22.1.0 | 11,007 | 1/14/2022 |
21.11.0 | 7,700 | 11/30/2021 |
21.10.0 | 11,606 | 10/14/2021 |
21.8.0 | 9,794 | 9/1/2021 |
21.7.0 | 4,220 | 8/3/2021 |
21.6.0 | 8,090 | 6/21/2021 |
21.4.0 | 29,906 | 4/8/2021 |
21.2.0 | 3,600 | 3/3/2021 |
21.1.0 | 4,110 | 1/31/2021 |
20.12.0 | 4,387 | 12/14/2020 |
20.11.0 | 3,792 | 11/24/2020 |
20.9.1 | 5,506 | 10/1/2020 |
20.9.0 | 276 | 9/30/2020 |
20.8.0 | 3,833 | 9/2/2020 |
20.6.0 | 40,441 | 6/16/2020 |
20.5.0 | 1,521 | 5/29/2020 |
20.3.0 | 7,181 | 3/10/2020 |
19.12.0 | 5,162 | 12/23/2019 |
19.10.0 | 9,192 | 10/30/2019 |
19.8.0 | 8,522 | 8/26/2019 |
19.6.1 | 1,150 | 7/18/2019 |
19.6.0 | 662 | 6/26/2019 |
19.3.0 | 719 | 4/2/2019 |
19.1.0 | 1,294 | 1/3/2019 |
18.11.1 | 2,182 | 11/29/2018 |
18.11.0 | 602 | 11/21/2018 |