HI!
I have some servers and multiport Ethernet controllers.
On servers there is TEAMs.
It is virtual network connection, which combine other connections in pool.
In result we hawe two network card with two ethernet channels and two TEAMs.
I use simple C# methods & classes:
NetworkInterface.GetAllNetworkInterfaces();
in result I have only TEAM connections on console output.
I use C++ method
[DllImport("iphlpapi.dll", CharSet = CharSet.Ansi)]
public static extern int GetAdaptersInfo(IntPtr pAdapterInfo, ref Int64 pBufOutLen);
Result isn't changed.
I'm not want use WMI, because it is bad for system perfomance (a data calling in 5 seconds). PowerShell in C# with
using System.Management.Automation;
has a bad for system perfomance too.
P.S. sorry for my bad English :(
What I have tried:
Use basic C#, C++, Powershell solutions