StackFrameExtensions.GetNativeImageBase(StackFrame) Method

Definition

Returns a pointer to the base address of the native image that this stack frame is executing.

C#
public static IntPtr GetNativeImageBase (this System.Diagnostics.StackFrame stackFrame);

Parameters

stackFrame
StackFrame

A stack frame.

Returns

IntPtr

A pointer to the base address of the native image or Zero if you're targeting the .NET Framework.

Applies to

Produkt Versions
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1
UWP 10.0

See also