ExchangeServiceBase.AcceptGzipEncoding property

Gets or sets a value that indicates whether GZip compression encoding should be accepted.

Namespace:  Microsoft.Exchange.WebServices.Data
Assembly:  Microsoft.Exchange.WebServices (in Microsoft.Exchange.WebServices.dll)

public bool AcceptGzipEncoding { get; set; }

Property value

Type: System.Boolean
true if GZip compression encoding should be accepted; otherwise, false.

Setting the AcceptGzipEncoding property value indicates to the server whether the client can handle GZip compression encoding. The server will only send GZip-compressed content if it has been configured to do so.