共用方式為


NetworkSession.BytesPerSecondSent Property

Gets a performance counter recording the amount of data being sent over the network.

Namespace: Microsoft.Xna.Framework.Net
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public int BytesPerSecondSent { get; }

Property Value

A performance counter recording the amount of data being sent over the network.

Remarks

Developers can use this to monitor how much network bandwidth their game is using.

See Also

Reference

NetworkSession Class
NetworkSession Members
Microsoft.Xna.Framework.Net Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista, Zune