Windows services
Posted
by user280154
on Stack Overflow
See other posts from Stack Overflow
or by user280154
Published on 2010-03-08T07:47:17Z
Indexed on
2010/03/08
7:51 UTC
Read the original article
Hit count: 725
c#3.0
Hi,
i have a windows application and i need to change it into a windows service, How can i check whether the windows service is running or not without using any external service to keep a check on the main service. Is there any way to check it within the main service as i have tried work on it but if the windows service is stopped then there is no way i can check on it. Do i have to implement the thread(keep alive thread) for this, if so then how to do it.
Please help.
Thanks in adv.
© Stack Overflow or respective owner