LaunchBoxContributors
On this page

SessionEvidence14.1

Class in Unbroken.LaunchBox.Plugins.Capabilities.Launching

C#
public sealed class SessionEvidence
Contains provider facts that help the host identify an item's process.

Constructors

SessionEvidence

C#
public SessionEvidence(
    IReadOnlyCollection<string>? executablePaths = null,
    IReadOnlyCollection<string>? installDirectories = null,
    IReadOnlyCollection<string>? candidateExecutableNames = null,
    IReadOnlyCollection<string>? ignoredExecutableNames = null
)
Initializes a new instance of the SessionEvidence class.
executablePaths
Exact absolute executable paths associated with the item; the host can derive search roots from these paths.
installDirectories
Directories beneath which item processes may run.
candidateExecutableNames
Executable filename hints. Adopting another process also requires path, installation-directory, or launch-ancestry evidence.
ignoredExecutableNames
Executable filenames that identify helpers rather than the item.

Properties

CandidateExecutableNames

C#
public IReadOnlyCollection<string> CandidateExecutableNames { get; }
Gets executable filename hints, which alone do not establish process ownership.

Empty

C#
public static SessionEvidence Empty { get; }
Gets an empty session-evidence value.

ExecutablePaths

C#
public IReadOnlyCollection<string> ExecutablePaths { get; }
Gets exact executable paths associated with the item.

IgnoredExecutableNames

C#
public IReadOnlyCollection<string> IgnoredExecutableNames { get; }
Gets executable filenames that identify helpers rather than the item.

InstallDirectories

C#
public IReadOnlyCollection<string> InstallDirectories { get; }
Gets directories beneath which item processes may run.