using System; using System.ComponentModel; namespace System.Diagnostics { /// Represents a.dll or .exe file that is loaded into a particular process. /// 2 // Token: 0x020000EA RID: 234 [global::System.ComponentModel.Designer("System.Diagnostics.Design.ProcessModuleDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] public class ProcessModule : global::System.ComponentModel.Component { // Token: 0x0600083A RID: 2106 RVA: 0x00016610 File Offset: 0x00014810 internal ProcessModule(IntPtr baseaddr, IntPtr entryaddr, string filename, FileVersionInfo version_info, int memory_size, string modulename) { this.baseaddr = baseaddr; this.entryaddr = entryaddr; this.filename = filename; this.version_info = version_info; this.memory_size = memory_size; this.modulename = modulename; } /// Gets the memory address where the module was loaded. /// The load address of the module. /// 2 // Token: 0x17000218 RID: 536 // (get) Token: 0x0600083B RID: 2107 RVA: 0x00016648 File Offset: 0x00014848 [MonitoringDescription("The base memory address of this module")] public IntPtr BaseAddress { get { return this.baseaddr; } } /// Gets the memory address for the function that runs when the system loads and runs the module. /// The entry point of the module. /// 2 /// /// /// // Token: 0x17000219 RID: 537 // (get) Token: 0x0600083C RID: 2108 RVA: 0x00016650 File Offset: 0x00014850 [MonitoringDescription("The base memory address of the entry point of this module")] public IntPtr EntryPointAddress { get { return this.entryaddr; } } /// Gets the full path to the module. /// The fully qualified path that defines the location of the module. /// 2 // Token: 0x1700021A RID: 538 // (get) Token: 0x0600083D RID: 2109 RVA: 0x00016658 File Offset: 0x00014858 [MonitoringDescription("The file name of this module")] public string FileName { get { return this.filename; } } /// Gets version information about the module. /// A that contains the module's version information. /// 2 /// /// /// // Token: 0x1700021B RID: 539 // (get) Token: 0x0600083E RID: 2110 RVA: 0x00016660 File Offset: 0x00014860 [global::System.ComponentModel.Browsable(false)] public FileVersionInfo FileVersionInfo { get { return this.version_info; } } /// Gets the amount of memory that is required to load the module. /// The size, in bytes, of the memory that the module occupies. /// 2 // Token: 0x1700021C RID: 540 // (get) Token: 0x0600083F RID: 2111 RVA: 0x00016668 File Offset: 0x00014868 [MonitoringDescription("The memory needed by this module")] public int ModuleMemorySize { get { return this.memory_size; } } /// Gets the name of the process module. /// The name of the module. /// 2 // Token: 0x1700021D RID: 541 // (get) Token: 0x06000840 RID: 2112 RVA: 0x00016670 File Offset: 0x00014870 [MonitoringDescription("The name of this module")] public string ModuleName { get { return this.modulename; } } /// Converts the name of the module to a string. /// The value of the property. /// 2 // Token: 0x06000841 RID: 2113 RVA: 0x00016678 File Offset: 0x00014878 public override string ToString() { return this.ModuleName; } // Token: 0x04000285 RID: 645 private IntPtr baseaddr; // Token: 0x04000286 RID: 646 private IntPtr entryaddr; // Token: 0x04000287 RID: 647 private string filename; // Token: 0x04000288 RID: 648 private FileVersionInfo version_info; // Token: 0x04000289 RID: 649 private int memory_size; // Token: 0x0400028A RID: 650 private string modulename; } }