Manipulate Windows Services with .NET / C# like Powershell -


what library in .net allow stop, uninstall, unregister, install, , start windows services .net? using .net 4/4.5.

what get-service powershell call behind scenes? how can access same objects/api .net?

you can use servicecontroller of (start, stop, pause , forth). requires add serviceprocess.dll. can't though, use command prompt calls sc create

examples here: https://stackoverflow.com/a/21187278/885318


Comments

Popular posts from this blog

c++ - How to add Crypto++ library to Qt project -

jQuery Mobile app not scrolling in Firefox -

How to use vim as editor in Matlab GUI -