ZipFile.Add Method (String, CompressionMethod, Boolean)

IC Sharp Sharp Zip Lib

ICSharpCode SharpZipLib Class Library

ZipFile.Add Method (String, CompressionMethod, Boolean)

Add a new entry to the archive.

public void Add(
   string fileName,
   CompressionMethod compressionMethod,
   bool useUnicodeText
);

Parameters

fileName
The name of the file to add.
compressionMethod
The compression method to use.
useUnicodeText
Ensure Unicode text is used for name and comment for this entry.

See Also

ZipFile Class | ICSharpCode.SharpZipLib.Zip Namespace | ZipFile.Add Overload List