ProcessSnapshot record

Namespace Runic.Platform.Administration.Windows.Processes · Runic.Platform.Administration.Windows 0.7.0-preview.5

public sealed record ProcessSnapshot : IEquatable<ProcessSnapshot>

Inherits or implements IEquatable.

A process observed in a point-in-time Toolhelp snapshot.

Parameters

ProcessId

The process identifier, which Windows may later reuse.

ParentProcessId

The recorded parent identifier; its process may already have exited.

ExecutableName

The executable filename reported by Toolhelp, not a full path.

Constructors

ProcessSnapshot

public ProcessSnapshot(uint ProcessId, uint ParentProcessId, string ExecutableName)

A process observed in a point-in-time Toolhelp snapshot.

Parameters

ProcessId

The process identifier, which Windows may later reuse.

ParentProcessId

The recorded parent identifier; its process may already have exited.

ExecutableName

The executable filename reported by Toolhelp, not a full path.

Properties

ExecutableName

public string ExecutableName { get; init; }

The executable filename reported by Toolhelp, not a full path.

ParentProcessId

public uint ParentProcessId { get; init; }

The recorded parent identifier; its process may already have exited.

ProcessId

public uint ProcessId { get; init; }

The process identifier, which Windows may later reuse.