|
| | Module (nint v, string strPath) |
| | Initializes a new Module instance using the specified native handle and file path.
The constructor extracts the module's file name and directory path for informational purposes.
|
|
| nint | Handle [get, set] |
| | Gets the native handle of the loaded module.
This value corresponds to the OS‑specific library handle returned by LoadLibrary (Windows), dlopen (Linux), or dlopen (macOS).
|
| string | Name [get] |
| | Gets the file name of the loaded module (e.g., kernel.dll, libfoo.so, libbar.dylib).
|
| string | Path [get] |
| | Gets the directory path where the module file resides.
|
◆ Module()
| SystemEx.Runtime.Module.Module |
( |
nint | v, |
|
|
string | strPath ) |
Initializes a new Module instance using the specified native handle and file path.
The constructor extracts the module's file name and directory path for informational purposes.
- Parameters
-
| v | The native module handle. |
| strPath | The full path to the loaded module file. |
57 {
58 this.Handle = v;
59 this.Name =
System.IO.Path.GetFileName(strPath);
60 this.Path =
System.IO.Path.GetDirectoryName(strPath)!;
61 }
@ System
forward indexing
Definition FlexSpan.cs:32
◆ Handle
| nint SystemEx.Runtime.Module.Handle |
|
getset |
Gets the native handle of the loaded module.
This value corresponds to the OS‑specific library handle returned by LoadLibrary (Windows), dlopen (Linux), or dlopen (macOS).
◆ Name
| string SystemEx.Runtime.Module.Name |
|
get |
Gets the file name of the loaded module (e.g., kernel.dll, libfoo.so, libbar.dylib).
◆ Path
| string SystemEx.Runtime.Module.Path |
|
get |
Gets the directory path where the module file resides.
The documentation for this class was generated from the following file: