Gets or sets the compression level to be used if compression takes effect.
Possible values are 0-9, where 0 means no compression (fastest) and 9 means best compression (slowest). 5 (medium compression and speed) is a default value.
This only affects outgoing data.

Namespace:  Rebex.Net
Assembly:  Rebex.Networking (in Rebex.Networking.dll)

Syntax

Visual Basic
Public Property CompressionLevel As Integer
	Get
	Set
C#
public int CompressionLevel { get; set; }

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also