在Win7中获取和启用/禁用传感器 [英] Get and enable/disable sensors in win7
问题描述
我们知道,win7在控制面板中提供了一个新设置,即位置和其他传感器".
在这里,我们可以获取所有已安装的传感器,并且可以启用或禁用传感器.
现在我使用Windows7.SensorAndLocation.dll,从这里 http://code.msdn下载.microsoft.com/SensorsAndLocation/Release/ProjectReleases.aspx?ReleaseId = 2359 [
这提供了GetAllSensors()方法,该方法可以列出所有传感器.但是如果虚拟传感器不运行,它就无法找出虚拟传感器.
尽管虚拟传感器无法运行,但我可以在win''7控制面板中看到它.
我想这样做并启用/禁用传感器.请告诉我该怎么办.
谢谢!
As we know, win7 provide a new setting, Location and Other Sensors, in control panel.
In there, we can get all sensor which been installed and we can enable or disable sensor.
Now I use this, Windows7.SensorAndLocation.dll download from here http://code.msdn.microsoft.com/SensorsAndLocation/Release/ProjectReleases.aspx?ReleaseId=2359[^].
This provide a method, GetAllSensors(), which can list all sensors. But it can''t find out virtual sensor if virtual sensor doesn''t run.
Although virtual sensor doesn''t run, I can see it in win''7 control panel.
I want to do that and enable/disable sensor. Please tell me what should I do.
Thanks!
推荐答案
您可能已经看过 ^ ],但以防万一.
You may already have seen this[^], but just in case you haven''t.
这篇关于在Win7中获取和启用/禁用传感器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!