c# - Get public ip of router -


i there way determine ip address without resorting remote server validate web request. seems if can trace-route ip's in chain... unsure how validate that.

if it's not possible, make sense not be. makes sense want multiple remote endpoints validate ip, in case 1 compromised.

traceroute won't help. you'd need traceroute from somewhere out there on internet toward public ip address of nat behind.

there no general way ask nat router public ip address use connections originate. in general there more 1 (e.g. load balanced wan connections).


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -