How to read the contents of an entire disk bit by bit
<p>I've got a flash card that I need to compute a checksum on the entire contents of the drive.</p>

<p>If I could acquire a stream to the entire drive I could just read it in bit by bit.</p>

<p>Does anyone know if there is an API for doing this?</p>

<p>Everything I see so far requires me to open a file.</p>

<p>Is there any way to just read an entire drive's contents bit by bit?</p>
