Note that there are some explanatory texts on larger screens.

plurals
  1. USBruce
    primarykey
    data
    text
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. CO@Gary:It will be helpful because I don't think that there is any unified solution to detect all the hardwares,which I'm talking about,So please share your solution.Actually SmartCardReader device will not appear as USB drive in the explorer so u can't detect it by USB drive kind of logic.But it will be present in Registry hive under \\Enum\USB.So if I get that information only that where I can get the device in the Registry hive for all such devices that itself will be helpful.For IntegratedCamera and FingerprintReader I want to know the solution in C# as In DeviceIOControl can tell u in C++
      singulars
    2. COThe above code can detect only the USB device at the run time but my objective is different........Whenever I launch my program then all the removable media devices information should be collected and stored in a data structure........so the above code is valid only if I run it as a service but my program will not be running for whole time.......And the DriveInfo class can give you information about USB drives but not SmartCardReader,FingerPrintreader,Integrated Camera etc...So this solution will not help much
      singulars
    3. COActually I've checked these classes but they are not totally helpful in detecting the devices I've mentioned in my question....So probably I'm looking for something like DeviceIOControl or WMI or sth like Device Manager to get these devices and get the detailed info on them
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload