Table of Contents

Delegate SetCompressionCallback

Namespace
Ionic.Zip
Assembly
SunamoDotNetZip.dll

Delegate for the callback by which the application tells the library the CompressionLevel to use for a file.

public delegate CompressionLevel SetCompressionCallback(string localFileName, string fileNameInArchive)

Parameters

localFileName string
Delegate for the callback by which the application tells the library the CompressionLevel to use for a file.
fileNameInArchive string
Delegate for the callback by which the application tells the library the CompressionLevel to use for a file.

Returns

CompressionLevel
Delegate for the callback by which the application tells the library the CompressionLevel to use for a file.
Extension Methods

Remarks

Using this callback, the application can, for example, specify that previously-compressed files (.mp3, .png, .docx, etc) should use a CompressionLevel of None, or can set the compression level based on any other factor.

See Also