Howto get IP address for a given adapter Home › Forums › Discussions › Support › Howto get IP address for a given adapter This topic has 2 replies, 2 voices, and was last updated 20 years, 2 months ago by glandegrande. Viewing 3 posts - 1 through 3 (of 3 total) Author Posts September 14, 2004 at 11:07 pm #4877 glandegrandeParticipant Hi, people. Nice forum! I have been using Winpkfilter. I need to know the ip address of the ip stack bound to a given adapter/interface. Can anyone help me? Thnkx! September 15, 2004 at 10:19 am #5631 Vadim SmirnovKeymaster The only documented way is IP Helper API. September 15, 2004 at 5:47 pm #5632 glandegrandeParticipant 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); Author Posts Viewing 3 posts - 1 through 3 (of 3 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In