Page 1 of 1

Connect to WiFi

Posted: Wed Dec 07, 2022 1:41 pm
by l1marik
Is any way how to connect (or change connection) to WiFi directly from program, not by system settings?

THX

Re: Connect to WiFi

Posted: Wed Dec 07, 2022 1:59 pm
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.

Re: Connect to WiFi

Posted: Wed Dec 07, 2022 5:23 pm
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.