Answer the question
In order to leave comments, you need to log in
How to print process memory map and memory region map information in c#?
The crux of the issue is in the title. What has been done now: connected to the kernel32 project, so far everything useful has been deduced:
public struct MEMORY_BASIC_INFORMATION
{
public IntPtr BaseAddress;
public IntPtr AllocationBase;
public int AllocationProtect;
public IntPtr RegionSize;
public int State;
public int Protect;
public int Type;
}
Answer the question
In order to leave comments, you need to log in
"I would really like to know how it costs then. " - I would not write this in C # from the very beginning.
Regarding process memory: what do you want? Which process did it allocate through Global/Virtual/HeapAlloc or the one given to it by the loader?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question