Hi, ive been looking all over microsoft and the internet for this solution without any success. Hopefully somebody can help.
All I want to do is grab the IP details of the local machine in VB 2008 (or previous versions) using actual coding and not relying on output from ipconfig/all. I specifically need the subnet mask and gateway of the local machine.
I have found documents on how to do this in C++ using the networkadapter functions which is of no use to me because im using VB. Ive managed to find how to get the local ip address (using winsock or third party control) but nothing more and a few pages on using WMI but all examples are using vbscript rather than the full blown visual basic.
Does anybody know how to do this in vb and have any sample code
As a network server administrator im confused on why this is so difficult, even in VB.
Thanks
Paulio