I initialazed DeviceWatcher ... works fine, I add Honeywell Ring Scanner it raises event deviceWatcher. When I remove Honeywell USB Ring Scanner it raises event DeviceWatcher_Removed
where I null ClaimedBarcodeScanner
and BarcodeScanner
object and DeviceWatcher
_Updated where return status was STOP
After I connect Ring Scanner nothing happened in App. If I restart the app it's work until I disconnect and connect Ring Scanner.
I need to release BrcodeScanner
from app.
I try on Honeywell D75e Win 10 iot
and Honeywell Ring Scanner 8620903
I also try free memory ...
GC.Collect();
GC.WaitForPendingFinalizers();
I try to do Dispose of ClaimedBarcodeScanner