如何在c#
中获取进程的起始内存位置我一直这样做,但不知道
Process currentProcess = System.Diagnostics.Process.GetCurrentProcess();
long totalBytesOfMemoryUsed = currentProcess.WorkingSet64;
currentProcess.ProcessName
currentProcess.PrivateMemorySize
currentProcess.VirtualMemorySize
答案 0 :(得分:3)
试试这个:
currentProcess.Modules[0].BaseAddress