WlanEnumInterfaces (wlanapi)
Last changed: -130.225.243.84

.
Summary
Enumerates all of the wireless NICs currently plugged into the system.

C# Signature:

        [DllImport("Wlanapi", EntryPoint = "WlanEnumInterfaces")]
        public static extern uint WlanEnumInterfaces([In] IntPtr hClientHandle, IntPtr pReserved, ref IntPtr ppInterfaceList);

VB Signature:

     <DllImport("Wlanapi", EntryPoint := "WlanEnumInterfaces")> _
     Public Shared Function WlanEnumInterfaces(<[In]> ByVal hClientHandle As IntPtr, ByVal pReserved As IntPtr, ByRef ppInterfaceList As IntPtr) As UInteger
     End Function

User-Defined Types:

WLAN_INTERFACE_INFO_LIST

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

pReserved must be passed in as IntPtr.Zero.

Tips & Tricks:

Please add some!

Sample Code:

See WlanQueryInterface.

Documentation