【发布时间】:2019-10-08 10:25:19
【问题描述】:
我初始化了 DeviceWatcher ... 工作正常,我添加了 Honeywell Ring Scanner 它引发了事件 deviceWatcher。当我删除 Honeywell USB Ring Scanner 时,它会引发事件 DeviceWatcher_Removed,其中我为空 ClaimedBarcodeScanner 和 BarcodeScanner 对象和 DeviceWatcher_Updated,其中返回状态为 STOP
连接 Ring Scanner 后,App 中没有任何反应。如果我重新启动应用程序,它会一直工作,直到我断开连接并连接 Ring Scanner。
我需要从应用程序中释放BrcodeScanner。
我试穿Honeywell D75e Win 10 iot 和Honeywell Ring Scanner 8620903
我也尝试释放内存...
GC.Collect();
GC.WaitForPendingFinalizers();
我尝试处理 ClaimedBarcodeScanner
【问题讨论】:
标签: c# barcode-scanner windows-10-iot-core honeywell