glandegrande

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Howto get IP address for a given adapter #5632
    glandegrande
    Participant

      Thank you, SerpentFly. That was fast.

      printf("Adapter Name: %sn", pAdapter->AdapterName);
      printf("Adapter Desc: %sn", pAdapter->Description);
      printf("Adapter Addr: %ldn", pAdapter->Address);
      printf("IP Address: %sn", pAdapter->IpAddressList.IpAddress.String);
      printf("IP Mask: %sn", pAdapter->IpAddressList.IpMask.String);
    Viewing 1 post (of 1 total)