Hi all,
I've got a simple and reliable methode to get the external IP address of a device:
This service is hosted on my domain and I will keep it ferever, free and advertisment free, since it are just 3 lines of PHP.Code:public static IPAddress GetExternalIP()
{
using (var wc = new WebClient())
{
return IPAddress.Parse(wc.DownloadString("http://tools.feron.it/php/ip.php"));
}
}
Have fun with it.
