Welcome to the ZArchiveSharp documentation. This guide covers everything you need to know about using ZArchiveSharp for archive creation, zstd compression, and batch processing.
ZArchiveSharp is a pure-C# port of the ZArchive 0.1.2 library. It provides:
zar command matching zarchive.exe behavior| Property | Value |
|---|---|
| Target frameworks | net8.0, net9.0, net10.0 |
| Runtime dependencies | None (BCL only) |
| Unsafe code | None in the zstd path |
| Trimmable | Yes |
| AOT compatible | Yes |
| License | MIT |
ZArchiveSharp produces byte-identical output to:
zarchive.exe (ZArchive 0.1.2)This is verified by 4171 tests including parity validation against native tools.
| Topic | Description |
|---|---|
| Installation | How to install ZArchiveSharp |
| Pack a Directory | Create your first archive |
| Extract an Archive | Extract archive contents |
| CLI Usage | Command-line tool reference |
| Compression Levels | Choosing the right level |
| Pipeline API | Batch operations |
| Error Handling | Exception types and handling |