Skip to content
Tiny unzip helper class for .NET 3.5 Client Profile and Mono 2.10, written in pure C#.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
Nuget Updated Nuget package. Nov 12, 2013
.gitignore Updated Dec 7, 2012
App.config Initial commit. Dec 2, 2012
LICENSE.txt Added CRC32 and file size checks, #2. Nov 8, 2013 Updated Nov 12, 2013
Unzip.cs Added FileProgressEventArgs, updated usage example. Nov 12, 2013
Unzip.csproj Added XML comments for the code. Dec 2, 2012
Unzip.sln Initial commit. Dec 2, 2012



This is a tiny (~300 lines with comments) self-contained Unzip helper class for .NET Framework v3.5 Client Profile or Mono 2.10. To use it, simply include Unzip.cs into your C# project or install Unzip package from Nuget:


using (var unzip = new Unzip(""))
	// list all files in the archive
	foreach (var fileName in unzip.FileNames)

	// extract single file to a specified location
	unzip.Extract(@"source\Zyan.Communication\ZyanConnection.cs", "test.cs");

	// extract file to a stream
	unzip.Extract(@"source\Zyan.Communication\ZyanProxy.cs", stream);

	// extract all files from zip archive to a directory


Full-featured libraries

  • SharpZipLib supports Zip, GZip, Tar and BZip2 archives. GPL. ~200k.
  • DotNetZip supports Silverlight and Compact framework, AES encryption. MS-PL. ~250-480k.
  • SharpCompress supports Zip, Gzip, Tar, Rar and 7z. MS-PL. ~440K.


You can’t perform that action at this time.