servicecontroller
WPF making ServiceController[] Observable
So im trying to make a data-grid that displays some information about local window services, mine in particular, I would like to have the display name and status of the service, and then have a button[详细]
2023-04-13 02:01 分类:问答Not able to start and stop service from remote machine
We have some winodow services on the remote machine. I am not able to start and stop that services usin开发者_开发知识库g service controller from my machine.You can use Powershell and supply it with t[详细]
2023-03-25 16:53 分类:问答C# Query Windows Service
I have been using an application that queries Windows Services running on remote servers and writes the Machine Name, Service Name, and Status to a database.[详细]
2023-03-20 10:50 分类:问答Starting a service in ASP.NET/C# with the right permissions
on my website (written in ASP.NET/C#) I want the moderaters to be able to start a certain service. The code I have for this is:[详细]
2023-03-07 01:17 分类:问答ServiceController just get stuck without any exceptions
I\'m using ServiceController to restart windows server. Here is my C# code. ServiceC开发者_如何学Pythonontroller service = new ServiceController(\"ServiceName\");[详细]
2023-02-26 03:55 分类:问答Remotely install Windows service
How do开发者_C百科 I remotely install a Windows service using C#? (I prefer not calling sc.exe / psexec / powershell remoting).[详细]
2023-02-17 13:40 分类:问答How do I know the Description of the service that is running in remote machine in C#?
I know the service that is running using ServiceController sc = new ServiceController(); ServiceController.GetServices(DropDownListMachineName.SelectedValue))[详细]
2023-02-09 09:09 分类:问答Trying to start a windows service from a windows application giving System.ComponentModel.Win32Exception: Access is denied
I am trying to develop a windows application to start/stop and monitor status of two particular services.[详细]
2023-01-29 16:22 分类:问答ServiceController in a Windows Service
I\'m trying to use ServiceController.GetServices() method to get the list of all the services. In a console application, it works OK, but I get an empty list if I call this method in a windows service[详细]
2023-01-06 02:34 分类:问答How to remotely control a Windows Service with ServiceController?
I\'m trying to control Windows Services that are installed in a remote computer. I\'m using the ServiceController class.[详细]
2023-01-03 04:31 分类:问答