Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. List Device Instance Id

List Device Instance Id

Scheduled Pinned Locked Moved C#
csharphelpquestion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    allenmpcx
    wrote on last edited by
    #1

    Hello. Is it possible in C# to retrieve the Device Instance Id of all connected USB devices? I've tried USBSharpLib but it doesn't do what I need. My ultimate goal is to detect a specific USB Camera and save files on the SD card inside. I've tried listing the logical drives, WIA, TWAIN and some (not all) of the WMI code snippets found on MSDN. The reason is, I need to make sure that data is being sent to the SD card. The camera does not show up as a logical drive. When I plug it in and go to "My Computer" it shows up at bottom with just the name of the camera. It also shows up under the Device Manager --> Imaging devices and I can get the Device Instance Id from there. I need a way to do the above programmatically. I must also mention that I can't drag and drop files onto the camera when I double-click it under "My Computer". Any help or further resources or source code would be greatly appreciated. I have been trying for weeks to accomplish this. :sigh: Mike

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups