Access to the list of available Wi-Fi hotspots, on Windows Mobile

I need to request a list of available wireless access points. I only need their SSID.

The application is currently .Net CF 2.0, but this is not an issue with 3.5 if we must.

+1


source to share


2 answers


The list of "closest" access points is retrieved via NDIS or WZC, depending on what the NIC driver supports. Both are fairly well documented on MSDN, but don't hurt. OpenNETCF SDF contains a wrapper that addresses both, depending on your network adapter support.



It is available through OpenNETCF.Net.NetworkInformation . NetworkInterface GetAllNetworkInterfaces method in the newest SDF 2.3 (actually it was there since 2.2).

+2


source


Well, the core of this is in Windows Zero Config.dll, otherwise known as WZC. However, from a managed application, you will want to go through OpenNETCF as they have a managed wrapper that can provide this information for you. The classes of interest are the Adapter or NetworkAdapter classes.

The browser api was:



Networking.GetAdapters()

      

although this is depreciating now, I think and I am sorry, but I forgot they replaced, but there will be a new equivalent.

+1


source







All Articles