Hi,
I have a doubt regarding stopping a window service.
Before stopping a window service, i want to check whether the particular service is servicng any requests or not.
If i am stopping the service without doing the above validation, all the requests presently serving by the window service will be failed.
So i need to do a validation before stopping the window service.
After doing a small search, i got "canstop" property in "System.ServiceProcess" .Net Classes.
Is it the right property to fulfill my validation scenario?
Please guide me the right way to implement the validation logic before stopping the window service.
Thanks in Advance,
Pavan