Using the Data Sense API
Apps that make use of the Data Sense API require the ID_CAP_NETWORKING capability. Enable the capability by opening the WMAppManifest.xml file in design view and selecting the capability in the Capabilities tab.
The Data Sense API provides your app with the following three important pieces of information:
Whether the phone is roaming
If the user is approaching the limit of his or her data plan
If the user has exceeded the ...
Get Windows® Phone 8 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.