Aspose.Zip
21.10.0
See the version list below for details.
dotnet add package Aspose.Zip --version 21.10.0
NuGet\Install-Package Aspose.Zip -Version 21.10.0
<PackageReference Include="Aspose.Zip" Version="21.10.0" />
paket add Aspose.Zip --version 21.10.0
#r "nuget: Aspose.Zip, 21.10.0"
// Install Aspose.Zip as a Cake Addin #addin nuget:?package=Aspose.Zip&version=21.10.0 // Install Aspose.Zip as a Cake Tool #tool nuget:?package=Aspose.Zip&version=21.10.0
.NET API to Manipulate Zipped Archives
Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License
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.
Read & Write ZIP Formats
ZIP: ZIP
Unix: TAR
GNU: GZIP
Unix/Linux: BZ2
Save ZIP Formats As
7z
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.
Get Started
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");
}
Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net20 is compatible. net35 was computed. net40 is compatible. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- System.Drawing.Common (>= 4.5.1)
- System.Text.Encoding.CodePages (>= 4.5.0)
NuGet packages (2)
Showing the top 2 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. |
|
Backups
Package Description |
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on Aspose.Zip:
Repository | Stars |
---|---|
4RTools/4RTools
Autopot, Skill Spammer, Dancer Macro and more
|
|
R2NorthstarTools/VTOL
A Manager and Installer For the Titanfall 2 +Northstar launcher.
|
Version | Downloads | Last updated |
---|---|---|
24.10.0 | 2,136 | 10/23/2024 |
24.9.0 | 4,181 | 9/25/2024 |
24.8.0 | 8,341 | 8/26/2024 |
24.7.0 | 4,543 | 7/26/2024 |
24.6.0 | 5,997 | 6/28/2024 |
24.5.0 | 15,096 | 5/11/2024 |
24.4.0 | 4,601 | 4/24/2024 |
24.3.0 | 16,620 | 3/28/2024 |
24.2.0 | 8,203 | 2/25/2024 |
24.1.0 | 13,892 | 1/31/2024 |
23.12.0 | 7,419 | 12/28/2023 |
23.11.0 | 27,730 | 11/28/2023 |
23.10.0 | 21,226 | 10/24/2023 |
23.9.0 | 11,226 | 9/29/2023 |
23.8.1 | 5,295 | 9/7/2023 |
23.8.0 | 7,351 | 8/30/2023 |
23.7.0 | 27,122 | 7/26/2023 |
23.6.0 | 11,741 | 6/30/2023 |
23.5.0 | 19,201 | 5/31/2023 |
23.4.0 | 26,073 | 4/30/2023 |
23.3.0 | 25,146 | 3/26/2023 |
23.2.0 | 20,818 | 3/1/2023 |
23.1.0 | 28,055 | 1/27/2023 |
22.12.0 | 17,474 | 12/22/2022 |
22.11.0 | 14,786 | 11/26/2022 |
22.10.0 | 17,986 | 10/28/2022 |
22.9.0 | 39,680 | 9/24/2022 |
22.8.0 | 13,654 | 8/31/2022 |
22.7.0 | 42,089 | 7/31/2022 |
22.6.0 | 6,727 | 7/1/2022 |
22.5.0 | 21,746 | 5/28/2022 |
22.3.0 | 34,889 | 3/19/2022 |
22.1.0 | 45,890 | 1/14/2022 |
21.11.0 | 26,231 | 11/30/2021 |
21.10.0 | 35,752 | 10/14/2021 |
21.8.0 | 31,890 | 9/1/2021 |
21.7.0 | 12,292 | 8/3/2021 |
21.6.0 | 27,391 | 6/21/2021 |
21.4.0 | 101,643 | 4/8/2021 |
21.2.0 | 41,380 | 3/3/2021 |
21.1.0 | 10,159 | 1/31/2021 |
20.12.0 | 11,000 | 12/14/2020 |
20.11.0 | 4,541 | 11/24/2020 |
20.9.1 | 12,224 | 10/1/2020 |
20.9.0 | 661 | 9/30/2020 |
20.8.0 | 12,149 | 9/2/2020 |
20.6.0 | 96,803 | 6/16/2020 |
20.5.0 | 9,923 | 5/29/2020 |
20.3.0 | 12,479 | 3/10/2020 |
19.12.0 | 11,508 | 12/23/2019 |
19.10.0 | 12,093 | 10/30/2019 |
19.8.0 | 16,385 | 8/26/2019 |
19.6.1 | 1,641 | 7/18/2019 |
19.6.0 | 1,099 | 6/26/2019 |
19.3.0 | 2,811 | 4/2/2019 |
19.1.0 | 11,398 | 1/3/2019 |
18.11.1 | 3,641 | 11/29/2018 |
18.11.0 | 1,106 | 11/21/2018 |