[Mono-list] How can I . . .

Chris van Wyk chris at jib.co.za
Fri May 20 04:27:47 EDT 2005


Hi Eric,

> I need to be able to detect when my ISP has changed my cable modem's IP
> address.  One complicating factor is that I'm behind a linksys router
> and am running NAT on my internal network.
> 


Have a look at this  GotDotNet User Sample: Asynchronous Trace Route
(tracert) in C#

The link is:

http://www.dotnet247.com/247reference/a.aspx?u=http://www.gotdotnet.com/Comm
unity/UserSamples/Details.aspx?SampleGuid=f0144b0a-cfa8-41e7-9377-d556cd1ebc
6c


because you know your internal subnet you should be able to detect your
router external IP as soon as it changes while running the tracert.

I have not tested the code with mono, but this should work. Let me know if
it works for you.

Regards
Chris




More information about the Mono-list mailing list