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

SharpZip Compression Library

SharpZip Compression Library

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

Create a zip file.

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

Parameters

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

See Also

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