DataPlanUsage DataPlanUsage DataPlanUsage DataPlanUsage DataPlanUsage Class


Represents data plan specific data usage information for a connection.

public : sealed class DataPlanUsage
struct winrt::Windows::Networking::Connectivity::DataPlanUsage
public sealed class DataPlanUsage
Public NotInheritable Class DataPlanUsage
// This class does not provide a public constructor.

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


For more information on using cost data to manage connectivity, see Quickstart: Managing metered network cost constraints.


LastSyncTime LastSyncTime LastSyncTime LastSyncTime LastSyncTime

Gets a DateTime object indicating the date and time when the MegabytesUsed property was last updated.

MegabytesUsed MegabytesUsed MegabytesUsed MegabytesUsed MegabytesUsed

Gets a value indicating the total amount of data transferred, in megabytes, over the connection.

See also