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
Post a Comment