Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi all, I wanna know how to make this console app
An app to list all wifi saved in the pc

how i can do this?? What method to use ??

What I have tried:

No try I just Want to know how i can start ???
Posted
Updated 17-Oct-16 21:11pm

1 solution

The first thing to do is querying you favorite search machine. Because getting such hardware related information depends on the operating system it should be included in the query. So a query might be "c++ windows list wlan interfaces".

Following some hits you should be able to find these Windows API functions which provides also example code:
WlanEnumInterfaces function (Windows)[^],
WlanGetProfile function (Windows)[^], and
WlanGetAvailableNetworkList function (Windows)[^] .

Repeat the search with other options like Qt. This will find
QNetworkConfigurationManager Class | Qt Network 5.7[^] (check for type QNetworkConfiguration::BearerWLAN to filter WLAN interfaces), and
QNetworkConfiguration Class | Qt Network 5.7[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900