Hi guys,
I want to install and start (2. Button Stop and Deinstall) a service from code in C#.Net Windows Forms.
Can someone help me?
Hi guys,
I want to install and start (2. Button Stop and Deinstall) a service from code in C#.Net Windows Forms.
Can someone help me?
Use the ServiceController
class, documented here to stop and start it.
To install, you can use InstallUtil.exe
, have a look here.