c#了解连接到互联网的网络接口 [英] c# learn which networkinterface connected to internet

查看:95
本文介绍了c#了解连接到互联网的网络接口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何了解哪个网络界面处于活动状态?



在我们的工作中,我们使用Teamviewer更改客户端的dns和ip地址。

有时他们的Internet连接会出错。我们的连接丢失了。

他们无法修复他们的DNS设置。喜欢选择。 自动获取IP地址。



我想用程序来做。如果连接丢失了。我想创建还原点。客户将点击此按钮重置IP和dns





有时候 [ ^ ]

解决方案

< blockquote>您正在寻找的是这样的吗?



如何设置PC的Dns服务器地址 [ ^ ]


How can I learn which network interface is active?

In our job we are changing our client's dns and Ip adresses by using Teamviewer.
Sometimes theirs Internet connection get an error. Our connection has lost.
They can't fix their dns settings. Like choosing. "Obtain Ip adress automatically."

I want to do it with program. And if connection lost. I want to create restore point. Customer will click this button to reset IP and dns


Sometimes[^]

解决方案

Is is something like this you are looking for?

How to set Dns Server Address of a Pc[^]


这篇关于c#了解连接到互联网的网络接口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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