Unsecured Wi-Fi connection detection

Is it possible in C++ to construct a console application that detects (i.e. throws a notification) whenever the host connects to an unsecured Wi-Fi network (no authentication)?

If so, how would one go about fulfilling this?
Yes.

You could use the WLan API Win32 provides; https://docs.microsoft.com/en-us/windows/desktop/api/wlanapi/

This looks like it can query the authentication algorithm; https://docs.microsoft.com/en-us/windows/desktop/api/wlanapi/

This is not a simple thing to do if you've little experience of Win32 API programming. There may be libraries that can simplify it.

OK. Thanks!

Does anyone have any sample code as an example?
Last edited on
Topic archived. No new replies allowed.