ZipFile.Add Method (IStaticDataSource, String, CompressionMethod)

IC Sharp Sharp Zip Lib

ICSharpCode SharpZipLib Class Library

ZipFile.Add Method (IStaticDataSource, String, CompressionMethod)

Add a file entry with data.

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

Parameters

dataSource
The source of the data for this entry.
entryName
The name to give to the entry.
compressionMethod
The compression method to use.

See Also

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