QualityOfService.BytesPerSecondUpstream Property
Gets an estimate of the available upstream network bandwidth from this machine to the session host, measured in bytes per second.
Namespace: Microsoft.Xna.Framework.Net
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public int BytesPerSecondUpstream { get; }
Property Value
An estimate of the available upstream network bandwidth from this machine to the session host, measured in bytes per second. Will return zero if the query has not yet completed. You can check if the query is complete using IsAvailable.
Remarks
The bandwidth algorithm used for BytesPerSecondUpstream and BytesPerSecondDownstream gives only an estimate of bandwidth and there is a possibility it may not accurately reflect the true bandwidth provided by the player's internet service provider. To avoid inaccurately representing the true bandwidth to the player, games should avoid displaying BytesPerSecondUpstream and BytesPerSecondDownstream.
Even though the results of these properties provide only rough estimates, the values can be useful for relative comparisons or host stack ranking. For instance, these properties might be used for choosing a host gaming machine with a bandwidth twice as large as another gaming machine or sorting a list based on bandwidth.
See Also
Reference
QualityOfService Class
QualityOfService Members
Microsoft.Xna.Framework.Net Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista, Zune