Is there a Event handler available on .Net / c++ /c# for Wireless profile added event and deleted event?

Shivanand Rao A V 20 Reputation points
2023-02-01T15:48:01.6966667+00:00

I want to register a Windows app for listening to Wireless profile changes (Addition or Deletion) performed on Windows settings or by executing netsh commands from CMD.

Is there any event handler available for the same?

If yes, how to register for the event in c++ or c# code

Windows development | Windows App SDK
Windows development | Windows API - Win32
Developer technologies | .NET | .NET MAUI
Developer technologies | .NET | .NET Runtime
Developer technologies | .NET | .NET Internet of things
Developer technologies | .NET | .NET Internet of things
.NET: Microsoft Technologies based on the .NET software framework. Internet of things: A concept that aims to extend the benefits of the regular internet, including constant connectivity, remote control ability, and data sharing, to goods in the physical world.
0 comments No comments
{count} votes

Answer accepted by question author
  1. Castorix31 91,501 Reputation points
    2023-02-01T17:52:29.03+00:00

    There is WlanRegisterNotification

    with wlan_notification_acm_profile_change from WLAN_NOTIFICATION_DATA


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.