Open a file to read the first couple of bytes

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dxc31202
    New Member
    • Jan 2013
    • 1

    Open a file to read the first couple of bytes

    I need to open files and check the first couple of bytes, but the buffering of the file streams makes this really slow.

    Is there a way in c# to open a file without buffering? i.e just open the file and then fetch a byte
Working...