I want to be able to get a list of the ip addresses for ll of the NICs in my pc. Currently I have 2 NICs in my pc. The ip address for 1 is fixed, 192.168.128.xxx, the other ip address is set by dhcp and not stable.
I know I could shell out to IPCONFIG and redirect the output to a file and parse it out to get the ip addresses. But this doesn't seem like a good solution to me.