Invoking windows service in C# code
-
Hi, I am going to develop a Windows Service in C#. It will be triggering for every 24hours and I want to invoke it On Demand As well. Can I invoke a windows service on demand???? Thanks & Regards !!!
jayasshc
-
Hi, I am going to develop a Windows Service in C#. It will be triggering for every 24hours and I want to invoke it On Demand As well. Can I invoke a windows service on demand???? Thanks & Regards !!!
jayasshc
You can start and stop a windows service using
System.ServiceProcess.ServiceController
class. You can see here an example: http://www.codeproject.com/csharp/Service_Controller.aspVisit my blog at http://dotnetforeveryone.blogspot.com/
-
You can start and stop a windows service using
System.ServiceProcess.ServiceController
class. You can see here an example: http://www.codeproject.com/csharp/Service_Controller.aspVisit my blog at http://dotnetforeveryone.blogspot.com/
Thanks a lot :)
-
You can start and stop a windows service using
System.ServiceProcess.ServiceController
class. You can see here an example: http://www.codeproject.com/csharp/Service_Controller.aspVisit my blog at http://dotnetforeveryone.blogspot.com/
Hi, Can't I invoke its method without stoping and starting?
jayasshc