Use GetAdaptersAddresses() is available