Skip to main content
MessageWebSocketInformation.BandwidthStatistics | bandwidthStatistics property

Gets bandwidth information for network data transfer on a MessageWebSocket object.

Note that the returned statistics are based on extended TCP statistics, which are enabled by default on Client versions of Windows, but disabled by default for performance reasons on Server versions of Windows. If extended TCP statistics are not available, all returned numerical statistics are set to 0, and boolean statistics are set to false.

Syntax


var bandwidthStatistics = messageWebSocketInformation.bandwidthStatistics;

public BandwidthStatistics BandwidthStatistics { get; }

Public ReadOnly Property BandwidthStatistics As BandwidthStatistics

public:
property BandwidthStatistics BandwidthStatistics { 
   BandwidthStatistics get();
}

Property value

Type: BandwidthStatistics

Bandwidth information for network data transfer on a MessageWebSocket object.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

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

Metadata

Windows.winmd

See also

Other resources
How to use advanced WebSocket controls (HTML)
How to use advanced WebSocket controls (XAML)
Reference
BandwidthStatistics
MessageWebSocket
MessageWebSocketInformation