I am trying to find ways to get the hex data from a file opened in a windows form using the open file dialog. I've done some reading and have found that .NET Framework used to have a byte viewer component built into System.Design that was a quick standard way to view the data needed; however upon trying this (ignorantly forgetting that most information found in the first page of Google's search engine for things like this are outdated 50% of the time) I found that System.Design.ByteViewer did not exist even after adding System.Design as a reference. I am prepared to write my own component to handle this in the long run anyways since I do not want it displayed in the traditional sense of a hex editor where the data is displayed via offsets.
In a standard hex editor we all know that data is displayed as:
00000000 12 34 56 78 12 34 56 78 12 34 56 78 12 34 56 78
I want mine to be more of a simpler approach to clean up my editor with emphasis on space and organization. Mine will have the downside of a longer list of data (in appearence) but will optimize work space:
I like this view better because it allows me to stick with the overall idea of the application in a simpler form and still manage to get my end task done.
Has anyone else worked on this type of project and if so can you give me more up to date areas to use? I'm not looking for complete code snippets, but at least a list of references and the classes I can use within them to accomplish my task. Also an idea on what control to use to represent my data would be nice too.
Thanks in advance!