in reply to Win32 Detect Active Nic and change IP

You can use WMI through Win32::OLE for this task also
  • Comment on Re: Win32 Detect Active Nic and change IP