Windows Dev Center

CellularApnContext.IsCompressionEnabled | isCompressionEnabled property

Indicates if data compression will be used at the data link for header and data transfer.

Syntax


var isCompressionEnabled = cellularApnContext.isCompressionEnabled;
cellularApnContext.isCompressionEnabled = isCompressionEnabled;

Property value

Type: Boolean [JavaScript] | System.Boolean [.NET] | Platform::Boolean [C++]

A Boolean value. TRUE if enabled; otherwise FALSE.

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Networking.Connectivity
Windows::Networking::Connectivity [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Networking.Connectivity
Windows::Networking::Connectivity [C++]

Metadata

Windows.winmd

See also

CellularApnContext

 

 

Show:
© 2015 Microsoft