Hello,
I've been trying to disable the network interface card from within the code in C using Windows. Something like: ifconfig eth0 down, in linux. Is there a way to do this from code in Windows?
Thanks a lot.
Hello,
I've been trying to disable the network interface card from within the code in C using Windows. Something like: ifconfig eth0 down, in linux. Is there a way to do this from code in Windows?
Thanks a lot.
Hi,
I want to do that because I'm writing a SNMP agent and I would like to disable the network interface when certain object gets certain value. Something I would like that the agent does. I'm looking for either code or a program that comes with the windows installation.
Thanks
have a look at the parameters available to rundll, you can pass things such as exitWindows, and ExitWindowsExec, for shutdowns and restarts, it may have something to handle the network interface.
Monday - what a way to spend a seventh of your life