I need to set IP adress on Windows XP machine from our Java APP. As I do not know any way how to set it purely from java I would like to use netsh to set it. Howerver as there are more than one interfaces I need to obtain special "long name" of network connection.
Nethsh command will look like this:
netsh interface ip set address name="Local Area Connection" source=dhcp
I tried to use
NetworkInterfaceclass to obtain it, but without success. For network name on Windows xp it return names like "eth0" :)
I am currently parsing output of command "ipconfig", but not only it is problematic, it also do not scale with various XP language mutations.