Question

I'm using the Native Wifi API and specifically the function WlanGetNetworkBssList.

I am aware that that function is not available in Windows XP SP2 and SP3. I tried installing the hotfix that was supposedly to allow access to that function but it did not work.

So are there any Wireless Zero Configuration .NET wrappers out there?

Or more basically, how do I get a list of the basic service set (BSS) entries of the wireless network or networks on a given wireless LAN interface without the use of that function?

Was it helpful?

Solution

Did you have a look at how MetaGeek's InSSIDer does it. It's C#, and open source (Apache License and available on github).

This app is gorgeous and very useful. There are at least 3 versions.

  1. InSSIDer
  2. InSSIDer 2
  3. InSSIDer forLinux

I've got a vintage XP SP3 here and it works pretty well. However, I do not think it relies on the WlanGetNetworkBssList API (it's close to the physical interface and besides, I'm using the Intel Wifi management stack (so my ZeroConf service is stopped) and InSSIDer still works).

OTHER TIPS

There is open source WLAN API library which allows to obtain wireless BSSIDs on Windows XP SP1 and higher by using NDISUIO 5.1 or Wireless Zero Configuration service.

Original code is written in C++ but can be converted into C# for your needs.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top