Dela via


StreamSocketInformation.BandwidthStatistics Property

Definition

Gets bandwidth information for network data transfer on a StreamSocket 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 = streamSocketInformation.bandwidthStatistics;
Public ReadOnly Property BandwidthStatistics As BandwidthStatistics

Property Value

Bandwidth information for network data transfer on a StreamSocket object.

Windows requirements

App capabilities
ID_CAP_NETWORKING [Windows Phone]

Applies to

See also