如何使用C#启用和禁用NIC? [英] How to eanable and disable nic using c#?
本文介绍了如何使用C#启用和禁用NIC?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
请帮助我.
如何使用C#启用和禁用nic?
如何使用Win32_NetworkAdapter类和禁用"或启用"方法.
Please help me.
How to eanable and disable nic using c#?
How to Use the Win32_NetworkAdapter class and the Disable or Enable methods.
推荐答案
有关文档的内容:
What about documentation: WMI .NET Overview?
:)
我假设您正在谈论NIC卡(以太网卡),您是否要使用Win32 API,有很多特定于Win32 API的类用于NIC卡.
I will assume you are talking about the NIC Card (Ethernet Card), will you got to use Win32 API''s, there is a lot of Win32 API classes that are specific for NIC Cards.
这篇关于如何使用C#启用和禁用NIC?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文