MemberInfo Type
An enriched, point-in-time snapshot of one member of a `ProcessGroup` (see `ProcessGroup.MembersInfo`). `Pid` is always present — it is how the group enumerated the member; every other field is `option` and is `None` wherever the platform cannot honestly report it, never a fabricated value. The member's **command line and environment are deliberately absent on every platform** — argv routinely carries secrets and redaction/hashing is the consumer's policy, so this snapshot excludes them by construction, the same exclusion the logging / tracing / metrics paths enforce. Sealed with an internal constructor so it can gain fields without breaking the frozen API.
Instance members
| Instance member |
Description
|
Full Usage:
this.ExeName
Returns: string option
|
The member's executable image name — a base name, never a full argv (Windows: the process snapshot's image file name, e.g. `node.exe`; Linux: the `/proc` `comm`, truncated to ~15 chars; macOS: `proc_pidinfo`'s command name). `None` where the platform cannot report it.
|
Full Usage:
this.Pid
Returns: int
|
The member's process id. Always present.
|
Full Usage:
this.Ppid
Returns: int option
|
The member's parent process id, when the platform can report it (Windows: the process snapshot's
parent id; Linux: `/proc/
|
|
The member's OS-reported start time (`System.Diagnostics.Process.StartTime`, local kind). `None` when the process exited before this read, or the start time is inaccessible on this platform/timing.
|
ProcessKit API Reference