Is there any way i can get WLAN information f.e. SSID, Signal strength etc in java or C++?
I know about the wlanscan function in C++. Can anyone give me any example on how to implement it?
There is also a jwlanscan api for java but its not working for me.
OS: Windows 7
Any help would be appreciated. Thanks!
EDIT:
{
System.loadLibrary("wireless");
}
List list = getNetworkAdapterInfo();
if (list == null)
System.out.println("None Network Adapter.");
else
for (Iterator ite = list.iterator(); ite.hasNext(); )
{
NetworkAdapterInfo nic = (NetworkAdapterInfo)ite.next();
System.out.println(nic.toString());
List listap = getWirelessApInfo(nic.getName());
if (listap == null) {
System.out.println("None Access Point.");
}
else {
System.out.println("Access Point:");
for (Iterator ite1 = listap.iterator(); ite1.hasNext(); )
{
WirelessApInfo ap = (WirelessApInfo)ite1.next();
System.out.println(ap.toString());
}
}
System.out.println("");
}
So far i have this code (jwlanscan api). It does not return any access point.