ZipFile.Add Method (String, CompressionMethod)

IC Sharp Sharp Zip Lib

ICSharpCode SharpZipLib Class Library

ZipFile.Add Method (String, CompressionMethod)

Add a new entry to the archive.

public void Add(
   string fileName,
   CompressionMethod compressionMethod
);

Parameters

fileName
The name of the file to add.
compressionMethod
The compression method to use.

See Also

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