如何控制硬件设备在Win10 x64上禁用和启用使用vs2015 Winform [英] How to control hardware device disable and enable on Win10 x64 use vs2015 Winform

查看:88
本文介绍了如何控制硬件设备在Win10 x64上禁用和启用使用vs2015 Winform的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

现在我们需要在运行平板电脑程序的开发中使用VS2015的WinForm框架来运行,该框架可以控制平板电脑的触摸屏已禁用和启用.但是我使用WIN API并没有达到预期的效果.然后 系统是Win10 x64,请问有什么方法可以解决这个问题.请帮忙!如何使用C#代码控制设备管理器在Win10 x64 OS上启用和禁用?

Now we need a run in the development of surface tablet computer program, using the VS2015 WinForm framework that can control the tablet computer touch screen is disabled and enabled. But I use WIN API did not achieve the expected results. Then the system is Win10 x64, do you have what method can solve this problem. Please help! How to use C# code to control the device manager to enable and disable on the Win10 x64 OS?

推荐答案

Hi XYC,

Hi Dev XYC,

谢谢您在这里发布.

对于您的问题,您可以下载源文件格式为

For your question, you could download the source file form Hardware Helper Library for C#.

在本文中,它显示了

In the article, it shows that How to monitor, enable, and disable hardware devices from C#. Due to our computer do not have touch screen, we could not test it.

我希望这会有所帮助.请尝试一下.

最好的问候,

Wendy


这篇关于如何控制硬件设备在Win10 x64上禁用和启用使用vs2015 Winform的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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