I am currently working on a program where there is a requuirement that if the user removes a wifi modem & puts in another one, then the internet should get connected by detecting the new modem. Also the WPA key should be needed to be entered everytime. I am thinking of using the "View Available Wireless Networks" facility in the Windows taskbar so that the user can connect everytime by selecting the network that he wants to use.
The problem is how to call the program/process which is "View Available Wireless Networks" through code? This may be a straightforward one line thing but I am kinda new to windows programming. Also the program is using psdk for all functions.How to go about doing this?