That is .NET, I used P/Invoke - look at the web link in the demo.
Code:
[DllImport("iphlpapi.dll")]
private static extern int GetAdaptersInfo(byte[] pAdapterInfo, ref uint pOutBufLen);
No, like I said inthe PM it got too complicated.
I suggest you start with something simpler!