Code Reference - icsharpcode/SharpZipLib GitHub Wiki
GZip and Tar Samples
- Extract the file within a GZip
- Simple full extract from a Tar archive
- Simple full extract from a TGZ or .Tar.GZip archive
- Extract from a Tar with full control
- Create a TGZ (.tar.gz)
- Create a TAR or TGZ with control over filenames and data source
- Updating files within a .tgz
Zip Samples
- Create a Zip with full control over content
- Create a Zip from/to a memory stream or byte array
- Create a Zip as a browser download attachment in IIS
- Unpack a Zip with full control over the operation
- Unpack a Zip, including embedded zips, and re-pack into a new zip or memorystream
- Unpack a zip using ZipInputStream (eg for Unseekable input streams)
- Download and Unpack a zip from an FTP server with recovery