![]() |
VOOZH | about |
dotnet add package Squid-Box.SevenZipSharp --version 1.6.2.24
NuGet\Install-Package Squid-Box.SevenZipSharp -Version 1.6.2.24
<PackageReference Include="Squid-Box.SevenZipSharp" Version="1.6.2.24" />
<PackageVersion Include="Squid-Box.SevenZipSharp" Version="1.6.2.24" />Directory.Packages.props
<PackageReference Include="Squid-Box.SevenZipSharp" />Project file
paket add Squid-Box.SevenZipSharp --version 1.6.2.24
#r "nuget: Squid-Box.SevenZipSharp, 1.6.2.24"
#:package Squid-Box.SevenZipSharp@1.6.2.24
#addin nuget:?package=Squid-Box.SevenZipSharp&version=1.6.2.24Install as a Cake Addin
#tool nuget:?package=Squid-Box.SevenZipSharp&version=1.6.2.24Install as a Cake Tool
This is a fork from tomap's fork of the original CodePlex project.
As of 2024-04-10, I've decided to officially release the final version of this fork - 1.6.2 - and archive the project. I myself don't use it anymore, and the sporadic bursts of activity from me aren't useful and I have a hard time even doing good code reviews on submitted code as I'm not actively working on this anymore.
The bugs that exist will remain, feel free to fork this repository (as I once did from tomap) if you want to fix something.
| Squid-Box.SevenZipSharp | Squid-Box.SevenZipSharp.Lite |
|---|---|
| 👁 NuGet Badge |
👁 NuGet Badge |
As required by the GNU GPL 3.0 license, here's a rough list of what has changed since the original CodePlex project, including changes made in tomap's fork.
Lite variant without SFX support (and significantly smaller size).As well as a number of improvements and bug fixes.
Original project information below, some information might be outdated or won't apply to this fork:
Managed 7-zip library written in C# that provides data (self-)extraction and compression (all 7-zip formats are supported). It wraps 7z.dll or any compatible one and makes use of LZMA SDK.
SevenZipSharp is an open source wrapper for 7-zip released under LGPL v3.0. It exploits the native 7zip dynamic link library through its COM interface and exports classes to work with various file archives. The project appeared as an improvement of http://www.codeproject.com/KB/DLL/cs_interface_7zip.aspx. It supports .NET and Windows Mobile .NET Compact.
The solution consists of SevenZipSharp library itself, console, WinForms and WPF test applications and the documentation. All are built with Microsoft Visual Studio 2008 or 2010 and under .NET 2.0 (up to 4.0). Sandcastle is used to build the library documentation. SevenZipSharp uses JetBrains ReSharper to maintain the quality of the code and NDepend to collect code statistics and audit the whole project. Special thanks to SciTech Software for .NET Memory Profiler.
Check SVN for the latest version of SevenZipSharp.
SevenZipSharp exports three main classes - SevenZipExtractor, SevenZipCompressor and SevenZipSfx. SevenZipExtractor is a 7-zip unpacking front-end, it allows either to extract archives or LZMA-compressed byte arrays. SevenZipCompressor is a 7-zip pack ingfront-end, it allows either to compress archives or byte arrays. SevenZipSfx is a special class to create self-extracting archives. It uses the embedded sfx module by Oleg Scherbakov . LzmaEncodeStream/LzmaDecodeStream are special fully managed classes derived from Stream to store data compressed with LZMA and extract it. See SevenZipTest/Program.cs for simple code examples; SevenZipTestForms is the GUI demo application. You may find useful the SevenZipSharp documentation provided in CHM format. On Windows XP SP2 or later or Vista unblock the file to view it correctly.
SevenZipSharp requires a 7-zip native library to function. You can specify the path to a 7-zip dll (7z.dll, 7za.dll, etc.) in LibraryManager.cs at compile time, your app.config or via SetLibraryPath() method at runtime. <Path to SevenZipSharp.dll> + "7z.dll" is the default path. For 64-bit systems, you must use the 64-bit versions of those libraries. 7-zip ships with 7z.dll, which is used for all archive operations (usually it is "Program Files\7-Zip\7z.dll"). 7za.dll is a light version of 7z.dll, it supports only 7zip archives. You may even build your own library with formats you want from 7-zip sources. SevenZipSharp will work with them all.
Extraction is supported from any archive format in InArchiveFormat - such as 7-zip itself, zip, rar or cab and the format is automatically guessed by the archive signature (since the 0.43 release). You can compress streams, files or whole directories in OutArchiveFormat - 7-zip, Xz, Zip, GZip, BZip2 and Tar. Please note that GZip and BZip2 compresses only one file at a time.
SevenZipSharpMobile (SevenZipSharp for Windows Mobile) does not differ much from its big brother. See the difference table below.
SevenZipSfx appeared in the 0.42 release. It supports custom sfx modules. The most powerful one is embedded in the assembly, the other lie in SevenZip/sfx directory. Apart from usual sfx, you can make even small installations with the help of SfxSettings scenarios. Refer to the "configuration file parameters" for the complete command list.
SevenZipCompressor.CustomParameters is a special property to set compression switches, compatible with command line switches of 7z.exe. The complete list of those switches is in 7-zip.chm of 7-Zip installation. For example, to turn on multi-threaded compression, code <SevenZipCompressor Instance>.CustomParameters.Add("mt", "on"); For the complete switches list, refer to SevenZipDoc.chm in the 7-zip installation.
These compilation symbols are supported: UNMANAGED.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 was computed. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 is compatible. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 was computed. |
| .NET Framework | net461 net461 was computed. net462 net462 was computed. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 is compatible. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 5 NuGet packages that depend on Squid-Box.SevenZipSharp:
| Package | Downloads |
|---|---|
|
xjjxmm.infrastructure
Package Description |
|
|
WinCopies.IO.Shell
WinCopies framework assembly for basic I/O operations |
|
|
WinCopies.GUI.Shell
Package Description |
|
|
cz.libs
net core cz.app 基础类库 |
|
|
WinCopies.Console
Package Description |
Showing the top 12 popular GitHub repositories that depend on Squid-Box.SevenZipSharp:
| Repository | Stars |
|---|---|
|
GoldenPotato137/PotatoVN
一款Visual Novel管理软件
|
|
| Nexus-Mods/Nexus-Mod-Manager | |
|
gaseous-project/gaseous-server
A game ROM manager, with a built in web based emulator using multiple sources to identify and provide metadata
|
|
|
redscientistlabs/RTCV
Real-Time Corruptor, Vanguard, CorruptCore, NetCore2 https://redscientist.com/rtc
|
|
|
dawn-lc/ArchivePasswordTestTool
利用7zip测试压缩包的功能 对加密压缩包进行自动化测试密码
|
|
|
nstlaurent/DoomLauncher
Doom Launcher is a doom launching utility and database for custom wads and pk3s
|
|
|
fiddyschmitt/clonezilla-util
Mount Clonezilla images in Windows
|
|
|
LocalizeLimbusCompany/LLC_MOD_Toolbox
模组安装程序
|
|
|
Flangvik/CobaltBus
Cobalt Strike External C2 Integration With Azure Servicebus, C2 traffic via Azure Servicebus
|
|
|
0blu/WinterspringLauncher
All in one launcher! Allows you to play on Everlook.org with 1.14 client without technical knowledge!
|
|
|
neowutran/ShinraMeter
Tera DPS Meter
|
|
|
BuIlDaLiBlE/BetterHI3Launcher
A much better Honkai Impact 3rd launcher.
|
| Version | Downloads | Last Updated |
|---|---|---|
| 1.6.2.24 | 280,031 | 4/9/2024 |
| 1.6.1.23 | 196,143 | 4/4/2023 |
| 1.6.0.22 | 1,969 | 3/31/2023 |
| 1.5.2.21 | 56,157 | 3/22/2023 |
| 1.5.0.366 | 187,266 | 8/15/2021 |
| 1.4.0.345 | 53,311 | 4/12/2021 |
| 1.3.318 | 34,650 | 3/5/2021 |
| 1.3.283 | 115,919 | 5/1/2020 |
| 1.2.265 | 9,485 | 3/21/2020 |
| 1.2.258 | 12,055 | 2/21/2020 |
| 1.2.242 | 36,382 | 12/24/2019 |
| 1.2.231 | 52,956 | 10/5/2019 |
| 1.2.219 | 3,154 | 9/19/2019 |
| 1.2.201 | 1,831 | 9/12/2019 |
| 1.2.191 | 1,566 | 9/12/2019 |
Ensuring streams provided are at the beginning of the file, thanks to GitHub user fgimian.
Fixed an issues where SFX archives would not be correctly detected, thanks to GitHub user fgimian.
Added support for APFS format, thanks to GitHub user elihwyma.
Added support for Wim format, thanks to GitHub user pysj.