Reputation: 550
How can I get data usage programmatically on my WP8? I found class DataUsage
with properties BytesReceived
and BytesSent
. But on MSDN I found the following:
Remarks Windows Phone 8 This API is not implemented and will throw an exception if called.
Perhaps, somebody knows how can I get the traffic usage (for cellular/Wifi connection)?
Upvotes: 3
Views: 2493
Reputation: 39007
Unfortunately, there's no API to get the overall traffic usage of the phone. Or at least, none available to third-party developers (there's probably some kind of internal API since Data Sense is able to display that information).
Upvotes: 5