Sutton Mehaffey

Sutton Mehaffey

  • NA
  • 19
  • 7.1k

Determining which port a SD card w/reader has been assigned to

Nov 2 2011 10:07 AM
I am trying to find out which port an SD card w/reader has been assigned to in C#.  If I use the SerialPort class (SerialPort.GetPortNames), that doesn't work.  It gives me COM1 and COM3, with or without the SD card and reader inserted via USB port.  I've downloaded the LibUsbDotNet Namespace, but I can't find any classes that have any Methods that seem to do what I need.  It's really a disk drive access, so maybe that's different.  Anybody know a way I can get information on whether an SD card has been inserted or not and what the drive name is?

Sutton


Answers (8)