How to "get" current settings of a windows service
I have created a windows service say XYZ. I could set its properties that is "startup type" and the "recovery".My question is how to get its current settings.
I want to "get" its
1.Startup Type
2.Recovery
2.1 First failure
2.2 Second failure
2.3 Subsequent failure