net9.0-windows10.0.22621
namespace Windows.Networking.Connectivity
{
    [Obsolete("DataUsage may be altered or unavailable for releases after Windows 8.1. Instead, use NetworkUsage.")]
    [SupportedOSPlatform("Windows10.0.10240.0")]
    public sealed class DataUsage : ?
    {
        [Obsolete("IDataUsage may be altered or unavailable for releases after Windows 8.1. Instead, use INetworkUsage.")]
        public ulong BytesSent { get; }
    }
}
.NET
5.06.07.08.09.0
Information specific to net9.0
Platforms This API is only available when you target a specific platform:
Windows
10.0.1776310.0.1836210.0.1904110.0.2034810.0.2200010.0.22621
Information specific to net9.0-windows10.0.22621
Assembly

Microsoft.Windows.SDK.NET , Version=10.0.22621.85, PublicKeyToken=31bf3856ad364e35

Referencing

The API is automatically referenced.

Obsolete IDataUsage may be altered or unavailable for releases after Windows 8.1. Instead, use INetworkUsage.
Platform Restrictions

The property getter is only supported on the following platforms:

  • Windows >= 10.0.10240
  • Built-in API
  • Package-provided API