net9.0-windows10.0.22621
namespace Windows.Networking.Connectivity
{
    [SupportedOSPlatform("Windows10.0.10240.0")]
    public sealed class ConnectionProfile : ?
    {
        [Obsolete("GetLocalUsage may be altered or unavailable for releases after Windows 8.1. Instead, use GetNetworkUsageAsync.")]
        public DataUsage GetLocalUsage(DateTimeOffset StartTime, DateTimeOffset EndTime);
    }
}
.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 GetLocalUsage may be altered or unavailable for releases after Windows 8.1. Instead, use GetNetworkUsageAsync.
Platform Restrictions

This API is only supported on the following platforms:

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