cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Windows Programming
Unsecured Wi-Fi connection detection
Unsecured Wi-Fi connection detection
Jun 30, 2018 at 10:40pm UTC
Maverick123
(2)
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?
Jul 1, 2018 at 2:17pm UTC
Repeater
(3046)
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.
Jul 1, 2018 at 5:44pm UTC
Maverick123
(2)
OK. Thanks!
Does anyone have any sample code as an example?
Last edited on
Jul 2, 2018 at 10:50am UTC
Topic archived. No new replies allowed.