to be honest, I am kind of lazy at the moment. I tried a 3 minute search, but I get a lot of Windows7 and C# related stuff, not what I am looking for. Its for a pet project anyway, so I just give it a try:
Is there any way to find out HOW I am connected to the internet in WP7?
Background: Any app which is written for fun purposes, e.g. a picture sorting app. I want it to sync a lot of stuff with my server when I am online via WLAN (e.g. 200mB), but it should not do anything if I am using my expensive GPRS connection...
Thanks for any tips, actually a RTFM with a good search word for google would to the trick :-)
Chris
Have a look at this link:
A value from the NetworkInterfaceType enumeration identifying the network type. The value will be one of: Wireless80211 for a Wi-Fi connection, MobileBroadband for a cellular connection, or None if no connection is available.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With