ks2
ks2

Reputation: 43

Windows event, when wifi connection attempt is made

I want to create an application(in c++), which tells me about access point authentication algorithm. And also warns me, if I tries to connect to wifi, which doesn't use WPA2 AES encryption algo.

If I get widows event information, while connection attempt is made, probably I can write a hook to check the encryption algorithm.

Upvotes: 0

Views: 271

Answers (1)

Remy Lebeau
Remy Lebeau

Reputation: 597941

You can use WlanRegisterNotification() to listen for WiFi events.

You can use WlanGetAvailableNetworkList() to get a list of available WiFi networks and their details, including authorization algorithm+cipher and current connection state.

Upvotes: 1

Related Questions