How can I read the 'sc.exe' start value of a service with C#?

193 Views Asked by At

I can change the start value of a service with the command

sc config <service-name> start= <disabled, ..>

But how can I find out how the starting value is currently set?

0

There are 0 best solutions below