Check if a service is running
Namespace:
Devolutions.UtilsAssembly: Devolutions.Utils (in Devolutions.Utils.dll)
Syntax
| Visual Basic |
|---|
Public Shared Function ServiceIsRunning ( _ name As String _ ) As Boolean |
| C# |
|---|
public static bool ServiceIsRunning( string name ) |
Parameters
- name
- Type: System..::..String