In .NET C#, we can identify network availability changes by calling this event
NetworkChange.NetworkAvailabilityChanged += AvailabilityChanged;
But how to know is WIFI disconnected from Laptop manual or because of other technical issues.
Let me know any registry Key is related to WIFI connect/disconnect button
We can Identify Airplane mode changes by
RegistryKey key = Registry.LocalMachine.OpenSubKey(@"SYSTEM\ControlSet001\Control\RadioManagement\SystemRadioState")
Is there anyway to identify button click on wifi connect/disconnect ?
What I have tried:
Tried event capture
, But it is triggering while manual or not. Both scenarios.