Click here to Skip to main content
15,908,909 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
Please help me.

How to eanable and disable nic using c#?

How to Use the Win32_NetworkAdapter class and the Disable or Enable methods.
Posted
Updated 11-Feb-10 12:25pm
v3

What about documentation: WMI .NET Overview?
:)
 
Share this answer
 
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.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900