Click or drag to resize

Utils_ServiceDoesServiceExist Method

Checks if a service exists.

Namespace:  MicaSystems.Utils
Assembly:  MicaSystems.Utils (in MicaSystems.Utils.dll) Version: 1.0.0.0 (1.1.0.123)
Syntax
C#
public static bool DoesServiceExist(
	string serviceName,
	string machineName = null
)

Parameters

serviceName
Type: SystemString
The name of the service.
machineName (Optional)
Type: SystemString
Name of the computer, optionnal if local.

Return Value

Type: Boolean
True if the service has been found, False otherwise.
See Also