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