ZipOutputStream.SetComment Method

SharpZip Compression Library

SharpZip Compression Library

ZipOutputStream.SetComment Method 

Set the zip file comment.

public void SetComment(
   string comment
);

Parameters

comment
The comment string

Exceptions

Exception Type Condition
Encoding of comment is longer than 0xffff bytes.

See Also

ZipOutputStream Class | ICSharpCode.SharpZipLib.Zip Namespace