Urgent!!!
I need to catch in my C# program start/end of SQL Server service.
It's clear that I need to use API function(s) but I can not find wich one may be suitable for my goal... Any ideas/recommendations will be strongly helpful.
If somebody has code sample, it's really great!!!

Thanks a lot,