Aspose.Zip
23.11.0
See the version list below for details.
dotnet add package Aspose.Zip --version 23.11.0
NuGet\Install-Package Aspose.Zip -Version 23.11.0
<PackageReference Include="Aspose.Zip" Version="23.11.0" />
paket add Aspose.Zip --version 23.11.0
#r "nuget: Aspose.Zip, 23.11.0"
// Install Aspose.Zip as a Cake Addin #addin nuget:?package=Aspose.Zip&version=23.11.0 // Install Aspose.Zip as a Cake Tool #tool nuget:?package=Aspose.Zip&version=23.11.0
Archive Processing .NET API
Product Page | Docs | API Reference | Examples | Blog | Search | Free Support | Temporary License
Aspose.ZIP for .NET is a class library that can be used by .NET developers for a variety of archive-processing tasks. It supports ZIP, GZIP, BZIP2, TAR, CPIO, LZIP, 7Z, LZMA, XZ and Z formats. It allows you to encrypt and decrypt files, create self-extracting archives and extract RAR, CAB, WIM formats as well. The API is easy to use, robust and written in managed code entirely to be used in .NET applications.
Aspose.ZIP for .NET is implemented using managed C# and can be used with any .NET language: C#, VB.NET, F#. It can be integrated with any kind of application, from ASP.NET web applications to forms applications within any OS: Windows/Linux/MacOS.
Functionality
- Compress files and folders to standard ZIP format using standard or enhanced Deflate, Bzip2, LZMA, XZ or PPMd compression algorithm.
- Decompress files and folders
- Detect archive format basing on its content
- Password protect ZIP archives with AES or ZipCrypto
- Apply different protection scheme to each file in an archive
- Append files to zipped archive
- Use parallelism to achieve efficient ZIP, Lzip, Xz and Bzip2 compression
- Pack files and folders to tar or cpio archive and compress it with gzip or bzip2
- Compose self-extracted and multi-volume archives
- Compose and extract lzip, z and xz archives
- Compose 7z archives with LZMA, LZMA2, PPMd or Bzip2 compression and optional encryption
- Extract simple 7z archives with LZMA, LZMA2, PPMd, BZip2 and Store compression and without encryption
- Extract RAR4 and RAR5 archives, with and without encryption.
To become familiar with the most popular Aspose.ZIP functionality, please have a look at our free online applications.
Supported Formats
Typical for Windows: ZIP, RAR, 7Z, CAB, WIM
Typical for Unix/Linux: TAR, CPIO, SHAR; GZ, BZ2, LZ, XZ, LZMA, XAR, Z
Getting Started
So, you probably want to jump up and start coding your archive manipulatio on C#, F# or Visual Basic right away? Let us show you how to do it in a few easy steps.
Run Install-Package Aspose.Zip
from the Package Manager Console in Visual Studio to fetch the NuGet package.
If you want to upgrade to the latest package version, please run Update-Package Aspose.Zip
.
You can run the following code snippets in C# to see how our library works. Also feel free to check out the GitHub Repository for other common use cases.
Create ZIP archive from a file
The usage of Aspose.ZIP is simple for common scenarios.
using (var archive = new Archive()) // Instantiate an archive
{
archive.CreateEntry("first_entry.dat", "data.bin"); // Add an entry from file
archive.Save("archive.zip"); // Save composed archive to file
}
Extract RAR to a folder
using (var archive = new RarArchive("archive.rar")))
{
archive.ExtractToDirectory("extracted");
}
Create 7z archive with LZMA compression and AES Encryption
// Instantiate an archive, providing compression and encryption settings
using (var archive = new SevenZipArchive(new SevenZipEntrySettings(new SevenZipLZMACompressionSettings(), new SevenZipAESEncryptionSettings("p@s$"))))
{
archive.CreateEntry("first_entry.dat", "data.bin");
archive.Save("archive.7z");
}
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.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. |
|
ut.frmwork.Ext
3.6.1.0 aspose类版本升级 3.5.0.5 修改基类生成 3.5.0.4 修改filedownload 3.5.0.3 1.预约系统增加相关文件接口2.修改上传类型的处理3.新增rest接口 3.5.0.2 deleteMark的问题 3.5.0.1 修复redis包引用问题 3.4.4.5 更新引用枚举5 3.4.4.4 更新引用枚举4 3.4.4.3 更新引用枚举3 3.4.4.2 更新引用枚举1 3.4.4.1 更新引用枚举 3.4.3.9 增加消息队列订阅 更新Rest接口获取主机 单实体查询 支持从网关走服务 添加基于缓存的分布式锁接口 更改条件或排序时兼容性 3.4.3.8 定时任务加入消息队列优化 3.4.3.7 定时任务加入消息队列 3.4.3.6 升级sqlsugar 3.4.3.5 基类增加构造函数 3.4.3.4 增加异常状态2 3.4.3.3 增加异常状态 3.4.3.2 最新版nuget修复异常1 3.4.3.1 最新版nuget修复异常 3.4.2.13 更新codeMessageIntoDb实现方式 3.4.2.12 日志命名使用的Ip地址优先为配置文件中的IP 3.4.2.11 日志命名修改为ip地址和service 3.4.2.10 获取关键字输入-keyword数据包 3.4.2.9 去除对Microsoft.CodeAnalysis.CSharp的直接引用,依赖ut.frmwork.core的依赖关系 3.4.2.8 更新sqlsuger版本包 3.4.2.7 条件过滤数据权限更新,更新包版本 |
|
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 | 4,418 | 10/23/2024 |
24.9.0 | 4,737 | 9/25/2024 |
24.8.0 | 9,234 | 8/26/2024 |
24.7.0 | 4,712 | 7/26/2024 |
24.6.0 | 6,190 | 6/28/2024 |
24.5.0 | 15,965 | 5/11/2024 |
24.4.0 | 4,741 | 4/24/2024 |
24.3.0 | 17,088 | 3/28/2024 |
24.2.0 | 8,439 | 2/25/2024 |
24.1.0 | 14,333 | 1/31/2024 |
23.12.0 | 7,501 | 12/28/2023 |
23.11.0 | 28,662 | 11/28/2023 |
23.10.0 | 21,823 | 10/24/2023 |
23.9.0 | 11,394 | 9/29/2023 |
23.8.1 | 5,358 | 9/7/2023 |
23.8.0 | 7,453 | 8/30/2023 |
23.7.0 | 28,303 | 7/26/2023 |
23.6.0 | 11,798 | 6/30/2023 |
23.5.0 | 19,523 | 5/31/2023 |
23.4.0 | 26,428 | 4/30/2023 |
23.3.0 | 25,482 | 3/26/2023 |
23.2.0 | 20,846 | 3/1/2023 |
23.1.0 | 28,560 | 1/27/2023 |
22.12.0 | 17,656 | 12/22/2022 |
22.11.0 | 14,872 | 11/26/2022 |
22.10.0 | 18,042 | 10/28/2022 |
22.9.0 | 39,833 | 9/24/2022 |
22.8.0 | 13,762 | 8/31/2022 |
22.7.0 | 42,544 | 7/31/2022 |
22.6.0 | 6,764 | 7/1/2022 |
22.5.0 | 21,820 | 5/28/2022 |
22.3.0 | 35,248 | 3/19/2022 |
22.1.0 | 46,176 | 1/14/2022 |
21.11.0 | 26,719 | 11/30/2021 |
21.10.0 | 36,065 | 10/14/2021 |
21.8.0 | 32,137 | 9/1/2021 |
21.7.0 | 12,348 | 8/3/2021 |
21.6.0 | 27,515 | 6/21/2021 |
21.4.0 | 102,168 | 4/8/2021 |
21.2.0 | 41,431 | 3/3/2021 |
21.1.0 | 10,193 | 1/31/2021 |
20.12.0 | 11,034 | 12/14/2020 |
20.11.0 | 4,542 | 11/24/2020 |
20.9.1 | 12,290 | 10/1/2020 |
20.9.0 | 662 | 9/30/2020 |
20.8.0 | 12,150 | 9/2/2020 |
20.6.0 | 97,023 | 6/16/2020 |
20.5.0 | 10,132 | 5/29/2020 |
20.3.0 | 12,482 | 3/10/2020 |
19.12.0 | 11,705 | 12/23/2019 |
19.10.0 | 12,109 | 10/30/2019 |
19.8.0 | 16,510 | 8/26/2019 |
19.6.1 | 1,642 | 7/18/2019 |
19.6.0 | 1,100 | 6/26/2019 |
19.3.0 | 3,259 | 4/2/2019 |
19.1.0 | 11,473 | 1/3/2019 |
18.11.1 | 3,666 | 11/29/2018 |
18.11.0 | 1,108 | 11/21/2018 |