Toggling network adapters on/off
<!--
+------------------------------------------------------------------------------------+
| !!! WARNING !!! |
|Issues can only be created from features requests validated on the forum **FIRST**. |
| |
|We have a really active forum to help you: |
|https://forum.netip.dev |
|Ignoring this rule will result in an automatic close of the issue! |
+------------------------------------------------------------------------------------+
Please submit your issue using the following template.
If you don't use a section, please write "N/A" inside it
-->
## Mandatory information
- URL to NetIP Forum thread: https://forum.aigl0n.net/t/toggling-network-adapters-on-off/61
## Additional Information for the issue
`NetworkInterface.GetAllNetworkInterfaces()` doesn't get fully disabled adapters. We need to dig dipper with `System.Management;`
Sources:
- https://learn.microsoft.com/en-us/previous-versions/windows/desktop/legacy/hh968170(v=vs.85)
- https://learn.microsoft.com/en-us/windows/win32/cimwin32prov/win32-networkadapter
issue