kutny.net


Content:
What is my IP - Manual

Manual

Installation

The application is compatible with Windows 2000, XP, Vista or later. It requires the Visual C++ runtime installed on your computer. You can download it from Microsoft here. After that, the installation is simple:

  1. Download the latest version here.
  2. Unpack the zip file anywhere (e.g. to C:\apps\whatismyip\).
    Note: If you upgrade to newer version, do not overwrite the configuration file (WhatIsMyIP.settings.xml) during extraction to preserve your old configuration.
  3. Optionally review and change the configuration.
  4. Run WhatIsMyIPTray.exe.

Configuration

The application configuration is stored in the WhatIsMyIP.settings.xml file which structure is obvious. I recommend using a XML editor such as XML Notepad to edit this file. Make sure the application is not running before you start to edit the configuration.

The following configuration parameters can be edited:

CheckInterval
Check interval in seconds. This is how often will the application check the IP address against the www.whatismyip.com website. The minimum value is 300. That means it cannot check the IP address more often than every 5 minutes.
WhatsMyIPURL
This is the URL address of the www.whatismyip.com service. Leave it as is, unless the service provider changes the URL. Currently it is set to http://automation.whatismyip.com/n09230945.asp.
LogFile
The application can log its operation and errors to a file. When this is empty, the application will not use the log file. The log file can be used to track when and to what whas the IP address changed and to see if there were any problems during the application operation.
RunOnChange
This optionally specifies the path to an external program to run every time IP address change is detected. Command line arguments can be passed to the program. When a command line argument or the program path itself contains spaces remeber to enclose it in double quotes. Two special tokens: $(old) and $(new) can be used anywhere in the command line which will be replaced with the old and the new IP address. The following example uses the SendMail utility to send a mail notification when the IP address changes:
"C:\Program Files\SendMail.exe" -server mail.example.com -from automat@example.com -to user@example.com -subject "Your IP address has changed" -body "Your public IP address has changed from $(old) to $(new). Please update your DNS records."
Another example uses the WebHit utility to invoke a server side script when the IP address changes:
"C:\Program Files\WebHit.exe" -url http://example.com/updatedns.php?newip=$(new) -login user -password pw123
Both programs (SendMail and WebHit) are included in the download.
RunWindowMode
This parameter specifies how the window of the external program will be shown when it is executed. Possible options are: Normal (default), Maximized, Minimized, Hidden. Use Hidden if you don't want the external application to intrude your desktop when it is suddenly executed.
StartOnSystemStartup
This parameter controls whether the aplication should start on Windows startup. Possible values are yes or no. If this is yes, the application will start as soon as a user logs on to the system. Default value is no so you'll need to edit this value if you want the aplication to start automatically.