API Reference
Class
ServiceFileDeployer
Deploys service-related files such as configuration and licenses.
Inheritance
- Object
- ServiceFileDeployer
Methods
public static ServiceConfigDeployment DeployConfig(String serviceName, String configPath) #Returns:
ServiceConfigDeploymentValidates and deploys service.json to the configured service location.
Parameters
- serviceName System.String
- Windows service name.
- configPath System.String
- Path to service.json.
Returns
Deployment result.
public static ServiceActionResult DeployLicense(String serviceName, String licensePath) #Returns:
ServiceActionResultDeploys a license container next to the service executable.
Parameters
- serviceName System.String
- Windows service name.
- licensePath System.String
- Path to the license container.
Returns
Deployment action result.
public static String ResolveConfigPath(String serviceName) #Returns:
StringResolves the target config path for the specified service.
Parameters
- serviceName System.String
- Windows service name.
Returns
Resolved config path.
public static String ResolveLicensePath(String serviceName) #Returns:
StringResolves the target license path for the specified service.
Parameters
- serviceName System.String
- Windows service name.
Returns
Resolved license path.