I am trying to find out what USB devices are plugged into a network computer, if possible returning a list like in device manager.
I am going to be checking all the computers on the network to query if a USB memory stick is inserted to locate that device, so it is may be possible to detect the drive letter it creates?
alternatively the device also creates a disk drive when it is plug in which could be located also.
i have tried to use the admin share C$ like below however this does not work
Directory.GetDirectories(@"\\192.168.0.112\C$)
any suggestions on this topic would be helpful.