programmatically turn acess point on/off in windows?

how to turn wireless on/off programmatically by that I mean doing the same thing as going to metro control panel (in windows 8) and switch the wireless on/off .

I have search on Google and in here but all I could find was how to enable/disable a connection(programmatically) and how to enable/disable the adapter.

this should be related to Airplane mode but turning it on and off causes the wireless to stop working (behave strangely for something's eg: hosted network )until the driver is disabled->enabled (plus I don't know how to turn on/off Airplane mode programmatically).

-please help tag this question.

链接地址: http://www.djcxy.com/p/47482.html

上一篇: 访问网卡电源管理属性

下一篇: 以编程方式在Windows中打开/关闭接入点?