2
How to connect to a new WiFi by enter a password using CMD?
For my school project I have decided to make a WiFi_manager program using cmd.
I know to display all WiFi networks (in cmd):
netsh wlan show networks
Now lets say I want to connect to a WiFi network that I never connected before. And that WiFi is not added any profiles also.
But I know the password of the WiFi.
1) What will be the command line for that.
Given the information of WiFi network below:
SSID 3 : Ismail
Network type : Infrastructure
Authentication : WPA-Personal
Encryption : CCMP
and password is "Thanks_bro".
I search this question already in google but none of them say a right way and most of them are related to hacking and to connect a WiFi without password etc. So I posted this question to the BEST programmers out here to answer!
If not possible, can we do using C++?
Check this ,it is helpful for you How can i connect to ad-hoc network using CMD?
– Xlint Xms – 2017-12-10T17:41:03.913