Although the API and their signature haven’t changed (AFAIK), there are differences between WiFi on Win7 and XP so you may want to be careful using XP examples.
A managed C# wrapper around WlanAPI that works on Win7 can be found here:http://managedwifi.codeplex.com/workitem/list/basic?size=2147483647.
The WLAN_BSS_ENTRY structure has a lssi property. The documentation forWlanGetAvailableNetworkList has some C++ sample code which would probably be useful to read through first and then you can look at the PInvoke page for WlanGetAvailableNetworkList for a short C# sample.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
Can you answer this question?
Write Answer3 Answers