从Windows窗体应用程序确定外部IP地址 [英] determine external ip address from a windows forms application

查看:149
本文介绍了从Windows窗体应用程序确定外部IP地址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在论坛上搜索了这个答案,但找不到令人满意的解决方案。

I've searched the forums for the answer to this but can't find a satisfactory resolution.


我们需要确定外部ip地址(就像你从我们的vb.net去了 www.whatismyip.com ) Windows表单应用程序。


We need to determine the external ip address (the same as if you went to www.whatismyip.com) from our vb.net windows forms application.

任何想法?

谢谢
Bruce

Thanks
Bruce

推荐答案

你怎么定义'外部ip'呢? Imho,它取决于您和主机之间的网关/代理。

无论如何,是什么阻止您使用www.whatismyip.com服务?
How would you define an 'external ip' anyway? Imho, it depends on the gateways/proxys between you and the host.

Anyway, what keeps you from using www.whatismyip.com services?


这篇关于从Windows窗体应用程序确定外部IP地址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆