RunicDescendantProcess class

Namespace Runic.Application.Testing in Runic.Application.Testing 0.23.0

public sealed class RunicDescendantProcess

A descendant process of a RunicServeOnlyApplication, as RunicServeOnlyApplication.GetDescendantProcesses listed it. It holds no operating-system handle, so there is nothing to dispose.

Properties

Id

public int Id { get; }

The process id.

StartTime

public DateTime? StartTime { get; }

When the process started, in local time; null when it could not be read.

Methods

HasExited

public bool HasExited()

Looks the process up again and tells whether it has exited: no process has its RunicDescendantProcess.Id any more, or the process with that id started at another time, so the id was reused.

ToString

public override string ToString()

The process id.