WiFi Notifications [SOLVED]
-
I'm looking for a way for my application to receive a notification whenever the PC connects to a WiFi network. I need to know the name of the network so that I can configure stuff differently depending upon which network the user is connected to. I found this on MSDN: AddConnectNotify function | Microsoft Docs[^] However, it looks like that function is for receiving notification of connections to network resources on the network that you're already connected to. It is not for receiving a notification of actually connecting to the network itself. Does anyone know what I'm looking for? Thank you. SOLUTION: I found this function which is exactly what I'm looking for: WlanRegisterNotification function | Microsoft Docs[^]
The difficult we do right away... ...the impossible takes slightly longer.