如何使用C#重启路由器 [英] How to restart router using C#

查看:89
本文介绍了如何使用C#重启路由器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想通过编程方式使用c#重新启动路由器



我正在使用WebRequest对象并传递路由器URL和密码



并从路由器URL发送请求,但它无法正常工作。



如果有任何想法,请告诉我。

I want to restart router using c# by programmatically

I am using the WebRequest object and pass router url and password

and send the request from router url but its not working.

If any idea then please let me know.

推荐答案

使用WireShark查看通过路由器的Web UI执行操作时会发生什么,然后使用 WebRequest 对象复制该文件。我相信WireShark是免费下载的。谷歌是你的朋友。
Use WireShark to see what happens when you do it via the router's web UI, and then duplicate that with the WebRequest object. I believe WireShark is a free download. Google is your friend.


只需你可以使用(Selenium)第三方驱动程序控制你的浏览器稳定而简单的方法你可以隐藏selenium浏览器如果你想
simply you can use (Selenium) Third Party drivers Control for control your browser its stable and easy way and you can hidden selenium browser if you want


这篇关于如何使用C#重启路由器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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