I have a corrupted *.jpg file from where I am trying to read the stored jpg. I can open the file in a Hex Editor (using http://mh-nexus.de/en/hxd/) and do copy-paste but I wanted to copy the data directly using c# instead. Can someone please help me in my quest??
Here is the exact data that I am looking for in the file: FF D8 FF DB
Example: