TestimoX

API Reference

Class

ServiceFileDeployer

Namespace TestimoX.Services
Assembly TestimoX
Modifiers static

Deploys service-related files such as configuration and licenses.

Inheritance

  • Object
  • ServiceFileDeployer

Methods

public static ServiceConfigDeployment DeployConfig(String serviceName, String configPath) #
Returns: ServiceConfigDeployment

Validates and deploys service.json to the configured service location.

Parameters

serviceName System.String requiredposition: 0
Windows service name.
configPath System.String requiredposition: 1
Path to service.json.

Returns

Deployment result.

public static ServiceActionResult DeployLicense(String serviceName, String licensePath) #
Returns: ServiceActionResult

Deploys a license container next to the service executable.

Parameters

serviceName System.String requiredposition: 0
Windows service name.
licensePath System.String requiredposition: 1
Path to the license container.

Returns

Deployment action result.

public static String ResolveConfigPath(String serviceName) #
Returns: String

Resolves the target config path for the specified service.

Parameters

serviceName System.String requiredposition: 0
Windows service name.

Returns

Resolved config path.

public static String ResolveLicensePath(String serviceName) #
Returns: String

Resolves the target license path for the specified service.

Parameters

serviceName System.String requiredposition: 0
Windows service name.

Returns

Resolved license path.