Forum Discussion

AndersW's avatar
AndersW
Occasional Contributor
15 years ago

Finding IP-Address of test machine

I have to make a test where I am simulating my own test machine as a network printer, and thus need to enter my ip-address instead of the actual Network Printer address.



Now I can do this with a simple string containing my test machine's IP Address, but I want it to be dynamic, so it can run on any machine without the need to change anything.



So how would I go about finding the correct address??



Now I searched in the Support section, but all I found was how to extract the address from the Windows TCP/IP setup of network connections. I would prefer one where I don't have to start up things in the Control Panel to find the information.



... or is the above the easiest way to get the address??



Thanks in advance