csharp read binary file

Code Example - csharp read binary file

                
                        BinaryReader reader = new BinaryReader(File.Open(filePath, FileMode.Open));
string fileContentInBin = reader.ReadString();
reader.Dispose();