Get external IP address over remoting in C#

前端 未结 12 1699
夕颜
夕颜 2020-12-05 05:16

I need to find out the external IP of the computer a C# application is running on.

In the application I have a connection (via .NET remoting) to a

12条回答
  •  醉酒成梦
    2020-12-05 05:47

    You can basically parse the page returned by doing a WebRequest of http://whatismyipaddress.com

    http://www.dreamincode.net/forums/showtopic24692.htm

提交回复
热议问题