public : sealed class DataUsage : IDataUsage
struct winrt::Windows::Networking::Connectivity::DataUsage : IDataUsage
public sealed class DataUsage : IDataUsage
Public NotInheritable Class DataUsage Implements IDataUsage
// This class does not provide a public constructor.
Windows 10 requirements
Windows 10 (introduced v10.0.10240.0)
Windows.Foundation.UniversalApiContract (introduced v1)
For more information on using cost data to manage connectivity, see Quickstart: Managing metered network cost constraints.
|BytesReceived BytesReceived BytesReceived BytesReceived BytesReceived||
Gets a value indicating the number of bytes received by a connection over a specific period of time.
|BytesSent BytesSent BytesSent BytesSent BytesSent||
Gets a value indicating the number of bytes sent by the connection over a specific period of time.
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.