0

I'm looking for a C++ method to get the BSSID (access point MAC address) on Windows platform. Is there a way to get this?

ANJ
  • 301
  • 1
  • 2
  • 14
  • [WlanGetAvailableNetworkList](https://learn.microsoft.com/en-us/windows/win32/api/wlanapi/nf-wlanapi-wlangetavailablenetworklist) – Jerry Coffin Aug 09 '22 at 06:24
  • @JerryCoffin, This doesn't provide the mac address isn't it, Just the BSSID count – ANJ Aug 09 '22 at 07:02
  • Sorry, I posted that kind of prematurely. Once you've found the network you care about, you can call [WlanGetNetworkBssList](https://learn.microsoft.com/en-us/windows/win32/api/wlanapi/nf-wlanapi-wlangetnetworkbsslist) to get the actual BSSIDs for that network (thouhgh you can also skip WlanGetAvailableNetworkList and enumerate *all* available BSSIDs). – Jerry Coffin Aug 09 '22 at 07:13

0 Answers0