ProcessSnapshot Class

Represents a snapshot of a process including ID, name, memory usage, processor time, and loaded modules.

public class ProcessSnapshot

Properties

NameDescription
HandleCount
Id
MainModule
Modules
NonpagedSystemMemorySize64
PagedMemorySize64
PagedSystemMemorySize64
PeakPagedMemorySize64
PeakVirtualMemorySize64
PeakWorkingSet64
PriorityClass
PrivateMemorySize64
PrivilegedProcessorTime
ProcessName
StartTime
TotalProcessorTime
UserProcessorTime
VirtualMemorySize64
WorkingSet64
public int HandleCount { get; }

Property value

int

No documentation is available.

public int Id { get; }

Property value

int

No documentation is available.

public ProcessModuleSnapshot? MainModule { get; }

No documentation is available.

public ImmutableArray<ProcessModuleSnapshot> Modules { get; }

No documentation is available.

NonpagedSystemMemorySize64

ProcessSnapshot.cs
public long NonpagedSystemMemorySize64 { get; }

Property value

long

No documentation is available.

PagedMemorySize64

ProcessSnapshot.cs
public long PagedMemorySize64 { get; }

Property value

long

No documentation is available.

PagedSystemMemorySize64

ProcessSnapshot.cs
public long PagedSystemMemorySize64 { get; }

Property value

long

No documentation is available.

PeakPagedMemorySize64

ProcessSnapshot.cs
public long PeakPagedMemorySize64 { get; }

Property value

long

No documentation is available.

PeakVirtualMemorySize64

ProcessSnapshot.cs
public long PeakVirtualMemorySize64 { get; }

Property value

long

No documentation is available.

PeakWorkingSet64

ProcessSnapshot.cs
public long PeakWorkingSet64 { get; }

Property value

long

No documentation is available.

PriorityClass

ProcessSnapshot.cs
public ProcessPriorityClass PriorityClass { get; }

Property value

ProcessPriorityClass

No documentation is available.

PrivateMemorySize64

ProcessSnapshot.cs
public long PrivateMemorySize64 { get; }

Property value

long

No documentation is available.

PrivilegedProcessorTime

ProcessSnapshot.cs
public TimeSpan PrivilegedProcessorTime { get; }

Property value

TimeSpan

No documentation is available.

public string ProcessName { get; }

Property value

string

No documentation is available.

public DateTime StartTime { get; }

Property value

DateTime

No documentation is available.

TotalProcessorTime

ProcessSnapshot.cs
public TimeSpan TotalProcessorTime { get; }

Property value

TimeSpan

No documentation is available.

UserProcessorTime

ProcessSnapshot.cs
public TimeSpan UserProcessorTime { get; }

Property value

TimeSpan

No documentation is available.

VirtualMemorySize64

ProcessSnapshot.cs
public long VirtualMemorySize64 { get; }

Property value

long

No documentation is available.

WorkingSet64

ProcessSnapshot.cs
public long WorkingSet64 { get; }

Property value

long

No documentation is available.