1

I build a scanner that takes all drive's with DriveInfo . how i Discerning between drive from card reader and drive from usb ?? thanks....


is the same member - Removable!! i try this , but must to be a diffrent from card reader to usb device!! sombody ??

Bill the Lizard
  • 398,270
  • 210
  • 566
  • 880
noam
  • 19
  • 2
  • are you meaning 'card reader' that's integrated onto the motherboard or other dedicated hardware interface for CompactFlash or Secure Digital cards? Are you also trying to differentiate between USB removable thumbdrives, or USB hard drives? – p.campbell Jul 25 '10 at 15:48
  • i meaninig dedicated hardware interface for CompactFlash . and yes,i try and not found what's the different !! – noam Jul 25 '10 at 16:24

1 Answers1

2

I would see if the DriveInfo.DriveType returns a different drive type for the card reader and the usb drive. Here's a list of what drive types DriveInfo contains.

jsmith
  • 7,198
  • 6
  • 42
  • 59
  • is the same member - Removable!! i try this , but must to be a diffrent from card reader to usb device!! sombody ?? – noam Jul 25 '10 at 16:22
  • USB and Memory cards will all be listed as 'Removable' – H H Jul 25 '10 at 16:22
  • @noam: You can prevent this kind of answers by asking better questions. You should have mentioned what you already tried. – H H Jul 25 '10 at 16:23