Memory Class Extended (C#)
I made this a long time ago and only recently started digging up in these sections...
So anyways, I made this class to simplify the task of opening/reading and writing to the memory. It's probably more flexible than Jorndel's memory class (If you know who he is.)
So anyways, it's in DLL format so just add it as a reference and put the DLL with the program you use.
USAGE:
Basically that's it. If you do get any errors, try renaming the DLL to "ClassLibrary1.dll"
Virus Scans:
Virus Total (0/38)ⓘ
Jotti's Malware Scan(0/19)ⓘ
So anyways, I made this class to simplify the task of opening/reading and writing to the memory. It's probably more flexible than Jorndel's memory class (If you know who he is.)
So anyways, it's in DLL format so just add it as a reference and put the DLL with the program you use.
USAGE:
Code:
//You need to import the DLL into your resources
using MemoryControl; //Allows it to be used in project.
MemC.cOpenProcessMemory("iw5mp"); // Opens the given application. DO THIS BEFORE ANYTHING ELSE;
MemC.cCloseProcess(); // Closes the process opened with cOpenProcessMemory(). DO THIS AFTER EDITING/READING MEMORY;
MemC.getProcessID("explorer"); // Returns an integer value of the application ID of the given process;
MemC.WriteXNOP(desiredAddress, 5); //Writes 5 NOP bytes (0x90) to the given address;
MemC.WriteXInt(desiredAddress, 255); //Writes the value 255 to the given address;
MemC.WriteXFloat(desiredAddress, floatValue); //Writes the floatValue to the given address;
MemC.WriteXDouble(desiredAddress, doubleValue); //Writes the doubleValue to the given address;
MemC.WriteXString(desiredAddress, stringX); //Writes stringX to the desired address(ASCII);
MemC.WriteXBytes(desiiredAddress, byteBuffer); //Writes the given bytes in the byteBuffer to the given address;
MemC.readXInt(desiredAddress); // Returns the integer stored at the desired address;
MemC.readXBytes(desiredAddress, 100); //Returns a byte array of 100 bytes from given address;
MemC.readXString(desiredAddress, 20); //Returns a string of 20 characters from desired address;
MemC.readXFloat(desiredAddress); //Returns a floating point at the desired address;
MemC.readXDouble(desiredAddress); //Returns a double at the desired address;
Virus Scans:
Virus Total (0/38)ⓘ
Jotti's Malware Scan(0/19)ⓘ

