0

Hi,

I want to get the External IP address in console application using C#.net.
External IP is different from local machine IP.

any help?

Thanks

4
Contributors
3
Replies
5
Views
4 Years
Discussion Span
Last Post by nmaillet
0

I'll assume he means public IP (Modem IP)

Unfortunately, the only real way you can do this is to query an external service and ask it. Your modem/router might have something you can query for the IP address but it's doubtful.

You could try a Dynamic DNS. You create an account and use their client to update your IP Address on their server, then you can query their server for your IP Address.

Google DDNS or Dynamic DNS and you will get a multitude of places offering this service.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.