禁用无线调制解调器 [英] Disable wireless modems

查看:90
本文介绍了禁用无线调制解调器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在编写程序,以在插入或从LAN网络中拔出网络电缆时启用和禁用所有无线连接(将网络电缆插入禁用无线设备,拔出网络电缆以启用无线设备).

到目前为止,我已经成功地将无线硬件显示为网络连接和蓝牙硬件,但是我遇到了无线调制解调器的问题,例如通常不在网络连接页面中显示的USB无线加密狗和调制解调器.

我可以使用WIN32_POTSMODEM来获取调制解调器列表,但是我需要一种方法来判断调制解调器是否已连接,而不是一种禁用/启用硬件的方法,就像您进入设备并禁用/启用硬件的方法一样. br/>
我正在Windows 7 x86/x64上使用Visual Studio 2010 vb.net.

任何帮助都会很棒.
Rodney

I am coding a program to enable and disable all wireless connection when a network cable is plugged in or remove from a LAN network (plug network cable in disable wireless devices, unplug network cable enable wireless devices).

so far I have been successful with wireless hardware that appears as a network connection and Bluetooth hardware but I an having problems with wireless modem such as USB wireless dongles and modems in general that do not appear in the network connection page.

I can get a list of modem with WIN32_POTSMODEM but I need a way to tell if the modem is connected or not and than a way to disable/enable the hardware, the same as if you go to devices and disable/enable the hardware.

I am using Visual Studio 2010 vb.net on Windows 7 x86/x64.

Any help would be great.
Rodney

推荐答案



您是否设法找到解决此问题的方法?
我有同样的问题....

谢谢,
巴鲁克
Hi,

Did you manage to find a solution for this problem ?
I have the same problem....

Thanks,
Baruch


这篇关于禁用无线调制解调器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆