setting IP, DNS, Netmask of a ether adapter with C#

  • Thread starter Thread starter knopper
  • Start date Start date
K

knopper

Hi,

It is possible to set the IP, DNS, Netmask of the Ethernet
Adapter with C# ?
Could any body give me some advices or links ?

thanks !
 
Hi,
look in System.Management namespace and Windows Management Instrumentation
technology.
I gues another option is to call some unmanaged code (dll) from C#..
Cheers,
Vlado
 
I find it is possible using WMI !

Any body know how to simulate a ethernet network cable dis-
plug-in with C# ?
e.g. It is a ethernet cable plugged in, but windows shows
it dis-plugged or disable ?
 
Back
Top