This class contains the Window Service utility functions.
Declaration Syntax| C# | Visual Basic | Visual C++ |
public static class ServiceUtils
Public NotInheritable Class ServiceUtils
public ref class ServiceUtils abstract sealed
Members| All Members | Methods | ||||
| Icon | Member | Description |
|---|---|---|
![]() ![]() | GetServiceDisplayName()()() |
Return the list of installed service in a string Array
|
![]() ![]() | GetServiceInstallationPath(String) |
Return the installation path of an installed Windows service.
|
![]() ![]() | GetServiceNameList()()() |
Return the list of installed service in a string Array
|
![]() ![]() | ServiceIsInstalled(String) |
Check if a service is installed
|
![]() ![]() | ServiceIsRunning(String) |
Check if a service is running
|
![]() ![]() | ServiceStartMode(String) |
Return the service start mode
|
![]() ![]() | SetServiceStartMode(String, ServiceUtils..::.ServiceStart) |
Set the service start mode
|
![]() ![]() | StartService(String) |
Start a service
|
![]() ![]() | StopService(String) |
Stop a service
|
Inheritance Hierarchy| Object | |
![]() | ServiceUtils |
Assembly: Devolutions.Utils (Module: Devolutions.Utils)


