使用IP地址在Web浏览器中导航 [英] Navigating in a web browser using IP address

查看:107
本文介绍了使用IP地址在Web浏览器中导航的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在构建一个Web浏览器,我想使用IP地址导航到该网站,现在我通过System :: Net:Dns类获取IP,但是我无法在WebBrowser工具中使用它因为它只需要字符串或URL.


I am building a web browser and i want to use the IP address to navigate to the web site, now i am getting the IP through the System::Net:Dns class but i am unable to use it in the WebBrowser tool because it only takes strings or URLs.


what can i do?

推荐答案

您可以使用字符串存储IP地址.

示例:

WebBrowser1.Navigate("74.125.230.112")
You can use a string to store an IP address.

Example:

WebBrowser1.Navigate("74.125.230.112")


这篇关于使用IP地址在Web浏览器中导航的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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