IWindowsServiceProbe
Interface in Oadm.Sdk.Network · Oadm.Sdk.dll
Windows: whether a Windows service runs (it may hold a port). Best effort, never throws.
public interface IWindowsServiceProbeExtended or implemented by ScQueryServiceProbe
Methods
Section titled “Methods”IsRunningAsync
Section titled “IsRunningAsync”Task<bool> IsRunningAsync(string serviceName, CancellationToken ct)Whether the Windows service serviceName runs.