Reputation: 314
Good morning,
I have to use the properties from DeviceNetworkInformation in my application.
(http://msdn.microsoft.com/en-us/library/microsoft.phone.net.networkinformation.devicenetworkinformation(v=vs.92).aspx)
I've already add the following line to my code
using Microsoft.Phone.Net.NetworkInformation;
but when I try to use DeviceNetworkInformation, I got the following error:
The name "DeviceNetworkInformation" doesn't exist in current context.
I just don't know what to do. Thank you all.
Upvotes: 1
Views: 270
Reputation: 26346
It's only available for the Windows Phone 7.1 SDK (or newer). You probably made a 7.0 application.
Upvotes: 1