Home » C# ProgrammingRSS

How to stop and start windows service from application

How to stop and start windows service from application
 

2 Answers Found

 

Answer 1

Check this:

1. http://www.csharp-examples.net/restart-windows-service/

2. http://www.c-sharpcorner.com/uploadfile/mahesh/window_service11262005045007am/window_service.aspx

 

Hope this helps.

Please Mark as Answer if helpful.

 

Answer 2

Hi,

With the help of ServiceController Class user can able to start,stop and even restart the services.

Please check the below link.

 http://www.csharp-examples.net/restart-windows-service/

Hope this helps you

Thanks and Regards,
Kumar

 
 
 

<< Previous      Next >>


Microsoft   |   Windows   |   Visual Studio   |   Follow us on Twitter