NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Process.Modules

Gets the modules that have been loaded by the associated process.

[Visual Basic]
Public ReadOnly Property Modules As ProcessModule ()
[C#]
public ProcessModule[] Modules {get;}
[C++]
public: __property ProcessModule* get_Modules();
[JScript]
public function get Modules() : ProcessModule[];

Property Value

An array of type ProcessModule that indicates the modules that have been loaded by the associated process.

Exceptions

Exception Type Condition
SystemException You are attempting to access the Modules on a remote computer. The property is only available for processes running on the local computer.

-or-

The process Id is not available.

Remarks

A process module represents a .dll or .exe loaded into a particular process. A ProcessModule instance lets you view information about a module, including module and file name, and module memory details.

A process can load multiple modules into memory.

See Also

Process Class | Process Members | System.Diagnostics Namespace | ProcessModule