c# - WP7 Wlan detection (HOW am I online) -
to honest, kind of lazy @ moment. tried 3 minute search, lot of windows7 , c# related stuff, not looking for. pet project anyway, give try:
is there way find out how connected internet in wp7?
background: app written fun purposes, e.g. picture sorting app. want sync lot of stuff server when online via wlan (e.g. 200mb), should not if using expensive gprs connection...
thanks tips, rtfm search word google trick :-)
chris
i believe this answers question
from link:
the application must register networkaddresschanged event of system.net.networkinformation.networkchange class. on receipt of event application can use networkinterfacetype property determine current connection state.
Comments
Post a Comment