Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
icsharpcode
SharpZipLib
Repository navigation
Code
Issues
90
(90)
Pull requests
28
(28)
Discussions
Actions
Projects
Wiki
Security and quality
Insights
More
items
Code Reference
Jump to bottom
Edit
New page
nils måsén edited this page
Aug 21, 2019
·
9 revisions
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
FastZip
Create a Zip File using FastZip
fileFilter parameter
Progress Events
Extract a Zip File using FastZip
Name Filter and Confirm Overwrite
Updating a Zip File
Basic updating of a Zip file
Updating a Zip file in memory
Wiki pages
Pages
28
Loading
Home
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Code Reference
GZip and Tar Samples
Zip Samples
FastZip
Updating a Zip File
Loading
Create a Zip as a browser download attachment in IIS
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Create a Zip from to a memory stream or byte array
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Create a Zip with full control over content
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Download and Unpack a zip from an FTP server with recovery
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
FAQ
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
FastZip
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
GZip and Tar Samples
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Joining the Team
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Links
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Release 1.0
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Release 1.1
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Release 1.2
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Release 1.3
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Release 1.3.1
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Release 1.3.2
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Release 1.3.3
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Release 1.4.0
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Release 1.4.1
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Release 1.4.2
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Release History
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Unpack a zip using ZipInputStream
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Unpack a Zip with full control over the operation
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Unpack a Zip, including embedded zips, and re pack into a new zip or memorystream
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Updating
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Zip Samples
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
ZipStrings and Unicode
Uh oh!
There was an error while loading.
Please reload this page
.
Show 13 more pages…
Information
Release 1.4.2
Release 1.4.1
Release 1.4.0
Release 1.3.3
Release 1.3.2
Release 1.3.1
Release 1.3
Release 1.2
Release 1.1
Release 1.0
Code Examples
GZip and Tar Samples
Zip Samples
FastZip
Updating a Zip File
Clone this wiki locally
You can’t perform that action at this time.