GZipOutputStream.SetLevel Method

IC Sharp Sharp Zip Lib

ICSharpCode SharpZipLib Class Library

GZipOutputStream.SetLevel Method 

Sets the active compression level (1-9). The new level will be activated immediately.

public void SetLevel(
   int level
);

Exceptions

Exception Type Condition
ArgumentOutOfRangeException Level specified is not supported.

See Also

GZipOutputStream Class | ICSharpCode.SharpZipLib.GZip Namespace