mscorlib(4.0.0.0) API with additions
System.Diagnostics.ProcessModule Class Reference

Represents a.dll or .exe file that is loaded into a particular process. More...

Inheritance diagram for System.Diagnostics.ProcessModule:
[legend]
Collaboration diagram for System.Diagnostics.ProcessModule:
[legend]

Public Member Functions

override string ToString ()
 Converts the name of the module to a string. More...
 
- Public Member Functions inherited from System.ComponentModel.Component
void Dispose ()
 Releases all resources used by the T:System.ComponentModel.Component. More...
 
override string ToString ()
 Returns a T:System.String containing the name of the T:System.ComponentModel.Component, if any. This method should not be overridden. More...
 
- Public Member Functions inherited from System.MarshalByRefObject
object GetLifetimeService ()
 Retrieves the current lifetime service object that controls the lifetime policy for this instance. More...
 
virtual object InitializeLifetimeService ()
 Obtains a lifetime service object to control the lifetime policy for this instance. More...
 
virtual ObjRef CreateObjRef (Type requestedType)
 Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. More...
 

Properties

string ModuleName [get]
 Gets the name of the process module. More...
 
string FileName [get]
 Gets the full path to the module. More...
 
IntPtr BaseAddress [get]
 Gets the memory address where the module was loaded. More...
 
int ModuleMemorySize [get]
 Gets the amount of memory that is required to load the module. More...
 
IntPtr EntryPointAddress [get]
 Gets the memory address for the function that runs when the system loads and runs the module. More...
 
FileVersionInfo FileVersionInfo [get]
 Gets version information about the module. More...
 
- Properties inherited from System.ComponentModel.Component
EventHandlerList Events [get]
 Gets the list of event handlers that are attached to this T:System.ComponentModel.Component. More...
 
virtual ISite Site [get, set]
 Gets or sets the T:System.ComponentModel.ISite of the T:System.ComponentModel.Component. More...
 
IContainerContainer [get]
 Gets the T:System.ComponentModel.IContainer that contains the T:System.ComponentModel.Component. More...
 
bool??? DesignMode [get]
 Gets a value that indicates whether the T:System.ComponentModel.Component is currently in design mode. More...
 
EventHandler Disposed
 Occurs when the component is disposed by a call to the M:System.ComponentModel.Component.Dispose method. More...
 
- Properties inherited from System.ComponentModel.IComponent
ISite Site [get, set]
 Gets or sets the T:System.ComponentModel.ISite associated with the T:System.ComponentModel.IComponent. More...
 

Additional Inherited Members

- Protected Member Functions inherited from System.ComponentModel.Component
virtual void Dispose (bool disposing)
 Releases the unmanaged resources used by the T:System.ComponentModel.Component and optionally releases the managed resources. More...
 
virtual object GetService (Type service)
 Returns an object that represents a service provided by the T:System.ComponentModel.Component or by its T:System.ComponentModel.Container. More...
 
- Protected Member Functions inherited from System.MarshalByRefObject
MarshalByRefObject MemberwiseClone (bool cloneIdentity)
 Creates a shallow copy of the current T:System.MarshalByRefObject object. More...
 
- Protected Attributes inherited from System.ComponentModel.Component
virtual bool CanRaiseEvents => true
 Gets a value indicating whether the component can raise an event. More...
 
- Events inherited from System.ComponentModel.IComponent
EventHandler Disposed
 Represents the method that handles the E:System.ComponentModel.IComponent.Disposed event of a component. More...
 

Detailed Description

Represents a.dll or .exe file that is loaded into a particular process.

Definition at line 11 of file ProcessModule.cs.

Member Function Documentation

◆ ToString()

override string System.Diagnostics.ProcessModule.ToString ( )

Converts the name of the module to a string.

Returns
The value of the P:System.Diagnostics.ProcessModule.ModuleName property.

Definition at line 104 of file ProcessModule.cs.

Property Documentation

◆ BaseAddress

IntPtr System.Diagnostics.ProcessModule.BaseAddress
get

Gets the memory address where the module was loaded.

Returns
The load address of the module.

Definition at line 43 of file ProcessModule.cs.

◆ EntryPointAddress

IntPtr System.Diagnostics.ProcessModule.EntryPointAddress
get

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

Returns
The entry point of the module.

Definition at line 65 of file ProcessModule.cs.

◆ FileName

string System.Diagnostics.ProcessModule.FileName
get

Gets the full path to the module.

Returns
The fully qualified path that defines the location of the module.

Definition at line 32 of file ProcessModule.cs.

◆ FileVersionInfo

FileVersionInfo System.Diagnostics.ProcessModule.FileVersionInfo
get

Gets version information about the module.

Returns
A T:System.Diagnostics.FileVersionInfo that contains the module's version information.

Definition at line 77 of file ProcessModule.cs.

◆ ModuleMemorySize

int System.Diagnostics.ProcessModule.ModuleMemorySize
get

Gets the amount of memory that is required to load the module.

Returns
The size, in bytes, of the memory that the module occupies.

Definition at line 54 of file ProcessModule.cs.

◆ ModuleName

string System.Diagnostics.ProcessModule.ModuleName
get

Gets the name of the process module.

Returns
The name of the module.

Definition at line 21 of file ProcessModule.cs.


The documentation for this class was generated from the following file: