FastZip.CreateZip Method (String, String, Boolean, String)

SharpZip Compression Library

SharpZip Compression Library

FastZip.CreateZip Method (String, String, Boolean, String)

Create a zip file/archive.

public void CreateZip(
   string zipFileName,
   string sourceDirectory,
   bool recurse,
   string fileFilter
);

Parameters

zipFileName
The name of the zip file to create.
sourceDirectory
The directory to obtain files and directories from.
recurse
True to recurse directories, false for no recursion.
fileFilter
The file filter to apply.

See Also

FastZip Class | ICSharpCode.SharpZipLib.Zip Namespace | FastZip.CreateZip Overload List