.NET Compact Framework 3.5硬件检测 [英] .NET Compact Framework 3.5 Hardware Detection

查看:117
本文介绍了.NET Compact Framework 3.5硬件检测的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在附加或连接外围设备时,是否在.NET CF 3.5下的Windows Mobile 6.0设备上触发了事件?
我需要在设备托架或磁卡读卡器时捕获事件附上了。

谢谢
查克

Is there an event triggered on a Windows Mobile 6.0 device under .NET CF 3.5 when a periphial is attached or connected?
I need to trap an event when the device is cradled or a mag card reader is attached.

Thanks
Chuck

推荐答案

<您可能对CradlePresent System State属性感兴趣: -

http://msdn.microsoft.com/en-us/library/microsoft.windowsmobile.status.systemstate.cradlepresent.aspx

希望这有帮助。

Paul Diston
Hi,

You maybe interested in the CradlePresent System State property :-

http://msdn.microsoft.com/en-us/library/microsoft.windowsmobile.status.systemstate.cradlepresent.aspx

Hope this helps.

Paul Diston


这篇关于.NET Compact Framework 3.5硬件检测的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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