Not using netsh, I found a way to switch airplane mode(Programmatically turn airplane mode on or off Windows), but I can't find any way to switch wifi state by code. Does any one know?
Asked
Active
Viewed 101 times
0
-
You should use WlanSetInterface function with wlan_intf_opcode_radio_state flag. – Mike Petrichenko Mar 03 '21 at 04:08
-
@Mike Petrichenko thx man – nullpoint01 Mar 03 '21 at 06:21