System.Diagnostics.ProcessModule.EntryPointAddress Property

Gets the memory address for the function that runs when the system loads and runs the module.

Syntax

[System.Diagnostics.MonitoringDescription("The base memory address of the entry point of this module")]
public IntPtr EntryPointAddress { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The module's entry point is the location of the function that is called during process startup, thread startup, process shutdown, and thread shutdown. While the entry point is not the address of the DllMain function, it should be close enough for most purposes.

Note:

Due to changes in the way that Windows loads assemblies, ProcessModule.EntryPointAddress will always return 0 on win8 or win81 and should not be relied on for those platforms.

Requirements

Namespace: System.Diagnostics
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0