Sunny,
I searched and found that people are just using ipconfig. If you look at message #
526200 and some of the others in that thread, there will be examples programatically using ADSI and shelling out to DOS to get a PC's IP.
>Thanks for your help. (^__^)
>Since I'm not familiar with this site, I couldn't find the way to get the ip address by using winAPI.
>Could you tell me where I can find it?