【问题标题】:Programmatically check is bluetooth device activated on WindowsCE 5.0以编程方式检查是否在 WindowsCE 5.0 上激活了蓝牙设备
【发布时间】:2009-08-20 10:46:09
【问题描述】:

有没有一种“好”的方法可以做到这一点,或者我应该尝试打开连接,如果失败,我会假设设备没有被激活。

【问题讨论】:

    标签: windows-mobile bluetooth


    【解决方案1】:

    我使用的是 OpenNETCF.Net.Bluetooth DLL,如果你有,那么你可以简单地检查一下

    OpenNETCF.Net.Bluetooth.BluetoothRadio.PrimaryRadio.Mode
    

    【讨论】:

    • 其实是 InTheHand.Net.Bluetooth.BluetoothRadio.PrimaryRadio.HardwareStatus;但有优雅的解决方案
    猜你喜欢
    • 1970-01-01
    • 2013-02-19
    • 2011-08-17
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-07-30
    • 2015-02-18
    相关资源
    最近更新 更多