I am using BinaryReader class to read binary file.But I am facing problem while reading number of bytes from it.
I have written code to read only 2 bytes from it,it works well on my machine and read only 2 bytes,but when I deployed that code on server machine it read 4 bytes from file.Whats wrong in the code?Is it due to processor i.e.. 32 bit processor/64 bit processor I am using?
Please provide solution or any link for it ASAP..
Thanks in advance
View Complete Post