Hello!
System.ServiceState can return the following codes:
0 - service running;
1 - service paused;
2 - service starting (start pending);
3 - service pausing (pause pending);
4 - service starting after pause (continue pending);
5 - service stopping (stop pending);
6 - service stopped;
255 - unable to get current service state.
Hope this helps!
Best regards,
Victor
System.ServiceState can return the following codes:
0 - service running;
1 - service paused;
2 - service starting (start pending);
3 - service pausing (pause pending);
4 - service starting after pause (continue pending);
5 - service stopping (stop pending);
6 - service stopped;
255 - unable to get current service state.
Hope this helps!
Best regards,
Victor
Конечно, все возможно, и со временем обязательно будет.