BandwidthStatistics Struct

Definition

Represents bandwidth information for network data transfer using a StreamSocket, StreamWebSocket, or MessageWebSocket object.

/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
struct BandwidthStatistics
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public struct BandwidthStatistics
var bandwidthStatistics = {
outboundBitsPerSecond : /* Your value */,
inboundBitsPerSecond : /* Your value */,
outboundBitsPerSecondInstability : /* Your value */,
inboundBitsPerSecondInstability : /* Your value */,
outboundBandwidthPeaked : /* Your value */,
inboundBandwidthPeaked : /* Your value */
}
Public Structure BandwidthStatistics
Inheritance
BandwidthStatistics
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
ID_CAP_NETWORKING [Windows Phone]

Fields

InboundBandwidthPeaked

A Boolean value that indicates whether the computed inbound bandwidth estimate for the network has peaked.

This member is set to true when the app is using enough of the connection bandwidth that the system can get a good estimate of the bandwidth delay product and can determine that the congestion window is a substantial fraction of the bandwidth delay product. This member can change from true to false if the app sends less data.

This value is always false on systems that do not have extended TCP statistics enabled by default.

InboundBitsPerSecond

The computed inbound bandwidth estimate in bits per second.

This value is always 0 on systems that do not have extended TCP statistics enabled by default.

InboundBitsPerSecondInstability

A measure of the instability of the inbound bandwidth estimate in bits per second.

This value is always 0 on systems that do not have extended TCP statistics enabled by default.

OutboundBandwidthPeaked

A Boolean value that indicates whether the computed outbound bandwidth estimate for the network path has peaked.

This member is set to true when the app is using enough of the connection bandwidth that the system can get a good estimate of the bandwidth delay product and can determine that the congestion window is a substantial fraction of the bandwidth delay product. This member can change from true to false if the app sends less data.

This value is always false on systems that do not have extended TCP statistics enabled by default.

OutboundBitsPerSecond

The computed outbound bandwidth estimate in bits per second.

This value is always 0 on systems that do not have extended TCP statistics enabled by default.

OutboundBitsPerSecondInstability

A measure of the instability of the outbound bandwidth estimate in bits per second.

This value is always 0 on systems that do not have extended TCP statistics enabled by default.

Applies to

See also