Project DescriptionIpSpy is a Windows Service Application that checks External IP address and if it changed, IpSpy sends Email with new IP to specified email address via SMTP
IP check occurs every hour by default
Configuration is simple through app.config file:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="IPProviderHost" value="http://ip-spy.org/"/>
<add key="SMTP.Login" value="mymail@gmail.com"/>
<add key="SMTP.Password" value="mypass"/>
<add key="SMTP.Port" value="587"/>
<add key="SMTP.Host" value="smtp.gmail.com"/>
<add key="SMTP.EnableSSL" value="True"/>
<add key="Log.FileName" value="C:\IpSpy.log"/>
<add key="Email.To" value="to@gmail.com"/>
<add key="Email.Subject" value="my-ip"/>
<add key="Email.BodyFormat" value="{0}"/>
</appSettings>
</configuration>
Installationinstall service with standard .net utilities:
installutil.exe (%WINDIR%\Microsoft.NET\Framework\v2.0.50727\installutil.exe)
or
sc.exe