tags:

views:

224

answers:

1

On a Windows PC, is there a way to read the raw bytes from an SD card attached trough a USB card reader? The SD card gets written from an embedded system using no file system at all, so I can't use standard file access routines. This is similar to what the unix dd utility does, but I need to integrate this into a .NET application.

+1  A: 

I'm not really sure whether this is helpful or not, but assuming that even an unformatted disk gets a physical drive number in the Win32 Device Namespace (which I think it must), you might be able to extend the code shown here to identify the drive number and read raw bytes from anywhere on the device.

Ed Harper
This looks really good - thanks a lot!
geschema