locked
Is there a way to uniquely identify an external device?

    Question

  • I need to detect different SD-Cards, USB Drives etc for my app whenever they are attached. Is that possible? The SDK Samples offer Device Enumeration which does not help as it does not include SD-Cards and Removable Storage does not offer a unique id, other than the relativeFolderId (which is not unique).
    Wednesday, March 06, 2013 12:46 PM

All replies

  • You sure the Device Enumeration in the SDK does not include removable storage devices? I see under the DeviceClass enumeration there is a PortableStorageDevice. Filtering the enumerated devices by that type would give you each portable device and its Id. Is that what you're looking for?
    • Edited by got.dibbs Wednesday, March 06, 2013 3:41 PM
    Wednesday, March 06, 2013 3:41 PM
  • Yes I am sure, I have tried it. A SD-Card does not count as portable device. I had it plugged in and even only filtered for enabled devices. It did not appear.
    Thursday, March 07, 2013 1:24 PM