Connect to WiFi

Just starting out? Need help? Post your questions and find answers here.
l1marik
User
User
Posts: 49
Joined: Tue Jun 30, 2020 6:22 am

Connect to WiFi

Post by l1marik »

Is any way how to connect (or change connection) to WiFi directly from program, not by system settings?

THX
User avatar
bembulak
Enthusiast
Enthusiast
Posts: 572
Joined: Mon Mar 06, 2006 3:53 pm
Location: Austria

Re: Connect to WiFi

Post by bembulak »

I did that in the past by calling netsh for exporting/importing WIFI-Profiles.
Downside: you'll need the pwd to be in the profile.

It's possible, but not secure and I'm sure there is some direct API call for such things.
cheers,

bembulak
l1marik
User
User
Posts: 49
Joined: Tue Jun 30, 2020 6:22 am

Re: Connect to WiFi

Post by l1marik »

My scenario:
- program running on PC without WiFi connection
- in program scan available WIFi networks
- connect to choosen one from program (not by system setting)
Probably I'll need API (for Win) and I need help with it.
Post Reply