문제

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)?

도움이 되었습니까?

해결책

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).

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top