On clients, gets or sets a value indicating whether to prefer communication compression if supported by the server.
On servers, gets or sets a value indicating whether to enable or disable communication compression.

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

Syntax

Visual Basic
Public Property Compression As Boolean
	Get
	Set
C#
public bool Compression { get; set; }

Field Value

True to prefer or enable compression; False to not prefer or not enable compression (default).

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also