Why don't you use plain cmd command (for examplel via system):
netsh interface set interface <interface name> DISABLED
In reply to Re: Using OLE to enable/disable network adapters in Windows
by Gangabass
in thread Using OLE to enable/disable network adapters in Windows
by teryx510
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |