Nikos,
Are you looking for the character string "E903" or for the two-byte
value 59651? Either way, once you know what bytes you are looking for, you
need to open the file with a FileStream, and cycle through all of the bytes,
looking one-by-one for a match.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Nikos" <nk******@freemail.gr> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Hi... I would like to search for a hex string (for example: "E903") inside
a binary file...
Although I open the file correctly, how do I search hex values?
Thanks in advance!
Nikos