i am creating an instance of ServiceController using a remote/local machine name and the name of the service.开发者_如何学Go When I type sth. like stackoverflow.com as machine name the contructor bloc
I\'m using a batch file to stop a Windows service.I\'m using the sc command, but I\'m open to other ideas, given the question below.The problem is that the batch file proceeds while the service is sto
I want to install a windows service on a remote service. In the following blog you have said to use \'servicecontroller\'
how can I send command to a Windows service from C++? Equivalent .NET code is: ServiceController sc = new ServiceController(\"MyService\");