Hello, I would like to ask if anyone can confirm that the Wifi Native function WlanDisconnect() does not work on Windows Compact 7 as asserted by this post: WINCE 7 WlanDisconnect API not working. And if yes, what is the best way to disconnect from a wireless network?
We have confirmed that calling WlanDisconnect() appears to disconnect the WLAN from the network. We can even see the wlan_notification_acm_disconnecting and wlan_notification_acm_disconnected notifications (using WlanRegisterNotification). However, we can still ping the IP address that the WiFi was assigned to.
In the post from the link I put above, there was a suggestion to UNBIND the adapter but this seems to disable the WiFi module altogether. We want it to be just in a disconnected state but still enabled so that scanning for wireless networks would still work.