Hi,
While I was exploring the new discovery feature of the latest 2.0rc2, I realize that a lot of network cards are returned by the net.if.discovery key on a Windows host. Even on a computer that have only one connected card. It would be nice if only the "Physical" card is returned. The equivalent of the following WMI query:
Select * From Win32_NetworkAdapter Where PhysicalAdapter = 1
There may be other interesting properties of the Win32_NetworkAdapter class like NetEnable. Maybe it would make sense then to implement a
{#IFTYPE}
macro to store those properties.
Keep up the good work!