ProcessExtensions Class

public static class ProcessExtensions

No documentation is available.

Methods

NameDescription
GetAncestorProcessIds(Process)
GetAncestorProcesses(Process)
GetChildProcesses(Process)
GetDescendantProcesses(Process)
GetParentProcess(Process)
GetParentProcessId(Process)
GetProcesses()

GetAncestorProcessIds(Process)

ProcessExtensions.cs
  • Supported on windows
[SupportedOSPlatform("windows")]
public static IEnumerable<int> GetAncestorProcessIds(this Process process)

Parameters

process Process

Returns

IEnumerable<int>

No documentation is available.

GetAncestorProcesses(Process)

ProcessExtensions.cs
  • Supported on windows
[SupportedOSPlatform("windows")]
public static IEnumerable<Process> GetAncestorProcesses(this Process process)

Parameters

process Process

Returns

IEnumerable<Process>

No documentation is available.

GetChildProcesses(Process)

ProcessExtensions.cs
  • Supported on windows
[SupportedOSPlatform("windows")]
public static IReadOnlyList<Process> GetChildProcesses(this Process process)

Parameters

process Process

Returns

IReadOnlyList<Process>

No documentation is available.

GetDescendantProcesses(Process)

ProcessExtensions.cs
  • Supported on windows
[SupportedOSPlatform("windows")]
public static IReadOnlyList<Process> GetDescendantProcesses(this Process process)

Parameters

process Process

Returns

IReadOnlyList<Process>

No documentation is available.

GetParentProcess(Process)

ProcessExtensions.cs
  • Supported on linux
  • Supported on windows
[SupportedOSPlatform("linux")]
[SupportedOSPlatform("windows")]
public static Process? GetParentProcess(this Process process)

Parameters

process Process

Returns

Process?

No documentation is available.

GetParentProcessId(Process)

ProcessExtensions.cs
  • Supported on linux
  • Supported on windows
[SupportedOSPlatform("linux")]
[SupportedOSPlatform("windows")]
public static int? GetParentProcessId(this Process process)

Parameters

process Process

Returns

int?

No documentation is available.

GetProcesses()

ProcessExtensions.cs
  • Supported on windows
[SupportedOSPlatform("windows")]
public static IEnumerable<ProcessEntry> GetProcesses()

No documentation is available.