TCnProcess.MainModule Property

Gets the main module for the associated process.

Namespace: CNClrLib.Component.Process
 property MainModule: _ProcessModule read GetMainModule;

Property Value

The ProcessModule that was used to start the process.

A process module represents a.dll or .exe file that is loaded into a particular process. The MainModule property lets you view information about the executable used to start the process, including the module name, file name, and module memory details.