Skip to content
JohnReilly edited this page Jul 1, 2010 · 14 revisions

How to create a Zip File

 FastZip fastZip = new FastZip();

 bool recurse = true;  // Include all files by recursing through the directory structure
 string filter = null; // Dont filter any files at all
 fastZip.CreateZip("fileName.zip", @"C:\SourceDirectory", recurse, filter);

SharpZipLib - Main Page

Clone this wiki locally