Forcing app to use 3G connection over wi-fi connection in WP7.5

Category: windows phone howto

Question

glitters on Mon, 06 Aug 2012 13:26:27


I want my app to use only 3G netwrok instead of wi-fi, when both wi-fi and 3G networks are available. Can this be done? If yes, how???

Replies

Steve ''Sly'' Williams on Mon, 06 Aug 2012 13:37:42


Use the SocketExtensions class.

You should also warn the user, because this is the opposite of what Windows Phone tries to do, and may end up costing the user a lot of money (3G = expensive, wi-fi = almost free).