Binary File handling


  • I am trying to open a binary file with open mode using this command



    oBR = new BinaryReader(File.Open(sFile, FileMode.Open))

    The File has version attribute in each line which should be the same in the whole file. (But their might be two different versions of binary files ( just for your info)) . After reading the version from the binary table i have to RESET the file in such a way that i have to strart reading it from the start.

    What are my options other than closing the file and open it again. Is there any option to reset for the file to start reading from the first. Please let me Know

    • Changed type dev87 Tuesday, September 13, 2011 1:42 PM
    Tuesday, September 13, 2011 1:39 PM