I'm using the OpenNetCF SDF WirelessZeroConfigNetworkInterface class to connect to a WiFi access point. I can connect OK, if I know the password, but how will I know if the password is wrong?
At the moment my best guess is to:
But in this sequence I can't know that the password is wrong until I decide that the connection has failed just by waiting a while. So far as I can tell there's no way to actively know that a connection attempt has failed, much less know that it failed because of a wrong password.
Am I missing something?
No, you're not missing anything. That's the same procedure I use.