TestimoX

API Reference

Class

ServicePaths

Namespace TestimoX.Services
Assembly TestimoX
Modifiers sealed

Resolved service paths (image, executable, and config).

Inheritance

  • Object
  • ServicePaths

Constructors

Methods

public String RequireConfigPath() #
Returns: String

Returns the effective configuration path or throws when it cannot be determined.

Returns

Resolved config path.

public String RequireExecutablePath() #
Returns: String

Returns the resolved executable path or throws when it cannot be determined.

Returns

Resolved executable path.

public String RequireLicensePath() #
Returns: String

Returns the default license path or throws when it cannot be determined.

Returns

Resolved license path.

Properties

public String ServiceName { get; set; } #

Windows service name.

public String ImagePath { get; set; } #

Raw ImagePath value from the registry.

public String ExecutablePath { get; set; } #

Resolved executable path.

public String ConfigPath { get; set; } #

Resolved config path, if present.

public String ExecutableDirectory { get; } #

Resolved directory that contains the service executable, if known.

public String EffectiveConfigPath { get; } #

Effective config path, falling back to the executable path with a .json extension when needed.

public String LicensePath { get; } #

Default TestimoX service license path next to the service executable, if known.