Table of Contents

Method ReadImageNameFromTarget

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

ReadImageNameFromTarget(IMemoryReader)

Read the image name from the target.

public string ReadImageNameFromTarget(IMemoryReader reader)

Parameters

reader IMemoryReader

access to target's memory

Returns

string

String for full path to image. Null if name not available

Remarks

MSDN says this will never be provided for during Attach scenarios; nor for the first 1 or 2 dlls.