-
Notifications
You must be signed in to change notification settings - Fork 996
Zip Samples
nils måsén edited this page Aug 21, 2019
·
17 revisions
Code Reference / Zip Samples
How to use SharpZipLib to work with Zip files
These samples try to cover the range of situations you will encounter. You may need to combine parts of each sample for your application.
- 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