I'm trying to make an application that reads memory and displays it. The source of the data is coming from a byte[] array and I've tried converting it into text, but did not work. I also tried to use BinaryReader, but it seems to be only for reading files which isn't what I'm trying to do. If there's a way to read memory other than files with Binaryreader that will help too. I found ICSharpCode.TextEditor.dll that may work, but I don't know how to use it. My main goal is to edit the memory with or without it displaying on the application. If anyone can help me I'd appreciate it!
List of questions that's related to this topic
- How to I display memory visually on the application? e.g. the picture below.
- What can I use to read memory without streaming a file?
- What .dll or c# function can I use to make a memory reader/editor that displays or not that reads a byte[].
This is how I want it to show on application.
Here are examples of what I'm trying to do
byte[] Memory = { }; // Source code
BinaryReader ReadMemory = new BinaryReader(Memory); // I need it to read byte[] , not a file
ReadMemory.ReadBytes(10);
//OR
byte[] Memorysource = { }; // Source code
richTextBox1.Text = Convert.ToString(Memorysource);