8 [Designer(
"System.Diagnostics.Design.ProcessModuleDesigner, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
10 [PermissionSet(
SecurityAction.InheritanceDemand, Name =
"FullTrust")]
13 internal ModuleInfo moduleInfo;
19 [MonitoringDescription(
"ProcModModuleName")]
24 return moduleInfo.baseName;
30 [MonitoringDescription(
"ProcModFileName")]
35 return moduleInfo.fileName;
41 [MonitoringDescription(
"ProcModBaseAddress")]
46 return moduleInfo.baseOfDll;
52 [MonitoringDescription(
"ProcModModuleMemorySize")]
57 return moduleInfo.sizeOfImage;
63 [MonitoringDescription(
"ProcModEntryPointAddress")]
68 EnsureNtProcessInfo();
69 return moduleInfo.entryPoint;
80 if (fileVersionInfo ==
null)
84 return fileVersionInfo;
90 this.moduleInfo = moduleInfo;
94 internal void EnsureNtProcessInfo()
PlatformID
Identifies the operating system, or platform, supported by an assembly.
IntPtr BaseAddress
Gets the memory address where the module was loaded.
static void SuppressFinalize(object obj)
Requests that the common language runtime not call the finalizer for the specified object.
static OperatingSystem OSVersion
Gets an T:System.OperatingSystem object that contains the current platform identifier and version num...
int ModuleMemorySize
Gets the amount of memory that is required to load the module.
IntPtr EntryPointAddress
Gets the memory address for the function that runs when the system loads and runs the module.
PlatformID Platform
Gets a T:System.PlatformID enumeration value that identifies the operating system platform.
Represents a.dll or .exe file that is loaded into a particular process.
SecurityAction
Specifies the security actions that can be performed using declarative security.
Provides information about, and means to manipulate, the current environment and platform....
string ModuleName
Gets the name of the process module.
A platform-specific type that is used to represent a pointer or a handle.
Provides the base implementation for the T:System.ComponentModel.IComponent interface and enables obj...
static unsafe FileVersionInfo GetVersionInfo(string fileName)
Returns a T:System.Diagnostics.FileVersionInfo representing the version information associated with t...
string FileName
Gets the full path to the module.
Provides version information for a physical file on disk.
Controls the system garbage collector, a service that automatically reclaims unused memory.
static CultureInfo CurrentCulture
Gets or sets the T:System.Globalization.CultureInfo object that represents the culture used by the cu...
override string ToString()
Converts the name of the module to a string.
Provides information about a specific culture (called a locale for unmanaged code development)....