GetAdapterIndex (iphlpapi)
Last changed: anonymous

.
Summary
Provides "adapter index" to be used with other IP Helper API functions based on the adapter name string in the form of "\\DEVICE\\TCPIP_" + deviceGuid.

C# Signature:

[DllImport("iphlpapi.dll", SetLastError=true)]
static extern int GetAdapterIndex(string adapter, out int index);

VB Signature:

Declare Function GetAdapterIndex Lib "iphlpapi.dll" (TODO) As TODO

User-Defined Types:

None.

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Documentation