Table of Contents

Method ReadMemory

Namespace
Microsoft.Samples.Debugging.Native
Assembly
NativeDebugWrappers.dll

ReadMemory(IntPtr, byte[])

Read memory from the target process. Either reads all memory or throws.

void ReadMemory(IntPtr address, byte[] buffer)

Parameters

address IntPtr

target address to read memory from

buffer byte[]

buffer to fill with memory

Exceptions

ReadMemoryFailureException

Throws if can't read all the memory