All formats

7z libraries for C#

.NET has no 7z support in the base class library (System.IO.Compression handles only ZIP, GZip, Brotli and, since .NET 7, TAR). Two open-source libraries cover 7z:

Pick SharpCompress for cross-platform code and for creating archives; SevenZipExtractor when you only extract on Windows and want 7-Zip’s full format and method support.

Squid-Box.SevenZipSharp, a wrapper that could also create archives through 7z.dll, was archived by its maintainer in 2024 and gets no more fixes.