ZipFile.Add Method (IStaticDataSource, String, CompressionMethod, Boolean)

IC Sharp Sharp Zip Lib

ICSharpCode SharpZipLib Class Library

ZipFile.Add Method (IStaticDataSource, String, CompressionMethod, Boolean)

Add a file entry with data.

public void Add(
   IStaticDataSource dataSource,
   string entryName,
   CompressionMethod compressionMethod,
   bool useUnicodeText
);

Parameters

dataSource
The source of the data for this entry.
entryName
The name to give to the entry.
compressionMethod
The compression method to use.
useUnicodeText
Ensure Unicode text is used for name and comments for this entry.

See Also

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