TestimoX

API Reference

Class

ServiceInfo

Namespace ComputerX.Services
Assembly ComputerX

Holds information about a Windows service.

Inheritance

  • Object
  • ServiceInfo

Constructors

Properties

public String ComputerName { get; set; } #
Browsable(false)

Computer hosting the service.

public String ServiceName { get; set; } #
Display(Name = "Service", Order = 0)

Service name (short name).

public String DisplayName { get; set; } #
Display(Name = "Display", Order = 1)

Display name shown in management tools.

public ServiceControllerStatus Status { get; set; } #
Display(Order = 2)

Current controller status.

public ServiceStartupType StartupType { get; set; } #
Display(Name = "Startup", Order = 3)

Configured startup type.

public Boolean IsRunning { get; } #
Browsable(false)

True when the service is running.

public Boolean IsAutoStart { get; } #
Browsable(false)

True when the service is configured for Automatic start.

public Boolean CanPauseAndContinue { get; set; } #
Browsable(false)

Whether the service can be paused and continued.

public Boolean CanStop { get; set; } #
Browsable(false)

Whether the service can be stopped.

public String ServiceAccount { get; set; } #
Display(Name = "Account", Order = 4)

Logon account for the service.

public String BinaryPath { get; set; } #
Display(Name = "Binary", Order = 5)

Path to the service binary.

public String Description { get; set; } #
Display(Name = "Description", Order = 6)

Service description.