0

I have a Air-Tell Brod-band connection in my office.

Every time when we restarts router then internet ip got changed.

I have an web application in asp.net with ip restriction.

For that application I've made a windows service that updates internet ip on my data-base records.

Can any one tell me how can i capture internet ip change event in windows service.

So that when ever we restarts router, service will automatically update record of ip on database.

Ashish Rathore
  • 2,378
  • 9
  • 49
  • 90

1 Answers1

0

You could use http://www.whatismyip.com/ and parse the html for the ip address.

You might set up a timer or thread that periodically checks this page or a list of pages like this for the address to detect the change.

Cole W
  • 14,753
  • 6
  • 48
  • 82