Reputation: 393
Is it possible to switch between WiFi networks in WM 6 and .NET CF v3.5 ?
I'm writing a .NET Compact Framework v3.5 app for a Windows Mobile 6 device. I'd like to be able to switch between 2 different WiFi networks via C#. The first network is an Ad-Hoc wireless network with another device close by, and the second network is any other available WiFi network as configured in the Windows Mobile device (usually it will be a public/corporate WiFi with a known SSID)
The scenario I'm after is to do the following via C#/.NET code on the windows mobile device:
Upvotes: 4
Views: 2392
Reputation: 75296
OpenNETCF has a class for handling wireless networks. Look for the OpenNETCF.Net.NetworkInformation
namespace, and the WirelessNetworkInterface
class.
Upvotes: 2