Service status says it's running, but how can I be sure it really is running.

  • Thread starter Thread starter UJ
  • Start date Start date
U

UJ

Is there a way to know whether a service is really running ? I can check the
status through the ServiceController but I need a way to make sure that the
service is actually alive and responding.

I'm looking for the equivalent of the Process.Responding command.

TIA - Jeff.
 
Hi,

UJ said:
Is there a way to know whether a service is really running ? I can check
the status through the ServiceController but I need a way to make sure
that the service is actually alive and responding.

I'm looking for the equivalent of the Process.Responding command.

Then you will need to implement a similar feature in your service. either by
TCP or by any other IPC method.

What the service does? The best way to know if it's "ok" is making it to do
what he is intended to do :)
 
Back
Top