different between card reader to usb using c#
Asked Answered
S

1

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 ??

Skeens answered 25/7, 2010 at 15:24 Comment(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?Suitor
i meaninig dedicated hardware interface for CompactFlash . and yes,i try and not found what's the different !!Skeens
L
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.

Lapith answered 25/7, 2010 at 15:45 Comment(3)
is the same member - Removable!! i try this , but must to be a diffrent from card reader to usb device!! sombody ??Skeens
USB and Memory cards will all be listed as 'Removable'Selaginella
@noam: You can prevent this kind of answers by asking better questions. You should have mentioned what you already tried.Selaginella

© 2022 - 2024 — McMap. All rights reserved.