Programmatically disable/enable network interface

前端 未结 7 975
臣服心动
臣服心动 2020-12-08 11:36

I\'m trying to come up with a solution to programmatically enable/disable the network card - I\'ve done a ton of research and nothing seems to be a workable solution in both

7条回答
  •  死守一世寂寞
    2020-12-08 11:36

    Found this solution that is basically automation of right click: http://www.wilderssecurity.com/showthread.php?t=265836 Works both on Windows XP and Windows 7

    There is also one written by Novell, that is a wrapper above DevCon: http://www.novell.com/communities/node/2338/network-configuration-command-line-control

提交回复
热议问题