UsbNoob wrote:
> My project requires the use of C#. And will be needing to write to flash
> drive later as well if only i can solve this error first. Any suggestions?
>
Yes. Treat this as a normal disk drive, not as USB device. If you
need to write to absolute raw sectors, use the "\\.\D:" method or the
"\\.\PhysicalDrive2" method.
USB drives follow the SCSI protocol. To talk to one, you have to
pretend you are talking to a SCSI device, plus the USB wrapping. You do
not want to go down that path.
--
Tim Roberts, ti...@pr...
Providenza & Boekelheide, Inc.
|