Functions for retrieving network adapter address!

Following functions can be used to retrieve network adapter info…

  • GetAdaptersInfo
  • GetAdaptersAddresses
  • Netbios
  • NetWkstaTransportEnum

So what’s the easiest and reliable way to achieve this? IMO use GetAdaptersInfo. By the way from XP onwards MSDN recommends using GetAdaptersAddresses.

Appreciate your comments...