How do I identify th开发者_StackOverflow社区e network type the phone is operating in (wireless, or GPRS) using C#?
Thanks in advance...
http://msdn.microsoft.com/en-us/library/microsoft.devices.networkinformation.networkinterface.getinternetinterfacetype%28v=vs.92%29.aspx
NetworkInterface.GetInternetInterfaceType
returns a NetworkInterfaceType
enum you can match on.
精彩评论