如何检查哪个网络适配器连接到Internet [英] How to check which network adapter is connect to internet

查看:74
本文介绍了如何检查哪个网络适配器连接到Internet的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好


我想查看:


1。如果我连接到互联网


2.  哪个  网络适配器我正在使用


我认为1.很简单,我可以ping一些网站..但我没有找到解决方案2.但是! :(

解决方案

您好


您是否使用过System.Net.NetworkInformation.Ping class,通过程序ping


http://msdn.microsoft.com/fr-fr/library/system.net.networkinformation.ping(VS.80)的.aspx


Hi

I want to check:

1. If Im conected to the internet

2. Which network adapter Im using

I think 1. is easy, I can ping some site.. But I did not found a solution for 2. yet! :(

解决方案

Hi

Have you ever used the System.Net.NetworkInformation.Ping class, to ping via program

http://msdn.microsoft.com/fr-fr/library/system.net.networkinformation.ping(VS.80).aspx


这篇关于如何检查哪个网络适配器连接到Internet的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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