المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Read file with hex characters



C# Programming
09-04-2009, 05:21 PM
Hi,

Im making an c# asp.net application. I would like to open an bin file and read the character by character. the intention is to get the most attentive characters.

Like if the content is çüë???ë??? , the result must be ?. Because there are 3 characters like it.

Here are 2 pictures to see the content of the bin file:

Hex editor (http://img261.imageshack.us/img261/1855/hexreader.jpg)
Notepad (http://img40.imageshack.us/img40/2576/hexnotepad.jpg)

Is it possible with StreamReader ?