自动重新连接到互联网

发布于 2024-10-08 06:34:49 字数 68 浏览 0 评论 0原文

如何以编程方式强制系统 (Windows 7) 重新连接到互联网?我需要更改IP。我使用的是USB调制解调器华为E1750

How can I programatically force system (Windows 7) to reconnect to internet? I need IP changed. I'm using USB Modem Huawei E1750

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

維他命╮ 2024-10-15 06:34:49

即使您重新连接,您也很有可能获得相同的外部 IP,这取决于您的 ISP。至于您的内部(如果有的话,在您的路由器上)IP,您可以通过在 Windows 7 设置中更改 IP 地址来更改它。

为什么你需要这种能力 - 听起来你正试图绕过网站的 IP 过滤/限制?

编辑:
好吧,不确定这是否有帮助,但简单的 Google 搜索就发现了这一点:http://bytes.com/topic/c-sharp/answers/260772-enable-disable-lan-connection

There's a good chance you'll get the same external IP even if you do reconnect, that is up to your ISP. As for your internal (on your router if you have one) IP, you can change that by changing your IP address in the Windows 7 settings.

Why do you want this ability - sounds like you're trying to get around an IP filter/limit of a website?

EDIT:
Well, not sure if this will help, but a simple Google search turned this up: http://bytes.com/topic/c-sharp/answers/260772-enable-disable-lan-connection

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文