Share via


ServerStreamWebSocketInformation.BandwidthStatistics Property

Definition

Gets bandwidth information for network data transfer on a ServerStreamWebSocket 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.

BandwidthStatistics BandwidthStatistics();
public BandwidthStatistics BandwidthStatistics { get; }
var bandwidthStatistics = serverStreamWebSocketInformation.bandwidthStatistics;
Public ReadOnly Property BandwidthStatistics As BandwidthStatistics

Property Value

Bandwidth information for network data transfer on a ServerStreamWebSocket object.

Windows requirements

App capabilities
internetClientServer privateNetworkClientServer

Applies to