Service.Info is a .NET Standard 2.0 library for receiving information about services/daemons on Windows and Linux. Mac support will maybe follow
Starting/Stopping/Restarting services/daemons requires administrative rights of the program which is calling the method otherwise it will fail and no service/daemon will execute the command. So make sure that your program has this right if you want to use this functionality.
WMI is used under Windows, so there should be no need to install additional stuff.
Following programs must be installed:
- service
- systemctl