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

IC Sharp Sharp Zip Lib

ICSharpCode SharpZipLib Class Library

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

Create a zip archive sending output to the outputStream passed.

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

Parameters

outputStream
The stream to write archive data to.
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