PDA

View Full Version : Get IP address of machine



oeb
02-26-2010, 03:21 AM
Is there a function to get the ip address of the machine you are installing on in SB?

linder
02-26-2010, 05:21 AM
Hello,

No, there is no built-in function to retrieve the IP Address. But you have several options:

1. Develop your own DLL to retrieve the IP Address and then call that DLL from the installer

2. The Windows IP Configuration Tool (ipconfig) lets you retrieve the IP Address. I have attached a very quick and dirty demo.

Does this help?

Friedrich

oeb
02-26-2010, 06:08 AM
I thought so. I think I'll go the DLL route - but thanks for the example anyway :).

linder
02-26-2010, 06:11 AM
:)

Friedrich