to get all services in the machine
-
how can i get all the services running or installed in the local machine
-
how can i get all the services running or installed in the local machine
Depending on what you mean by "get", Typing "net start" on your command prompt will list for you the services running on your computer. For programmatic access you can use ServiceController class after importing the corresponding namespace.
-
Depending on what you mean by "get", Typing "net start" on your command prompt will list for you the services running on your computer. For programmatic access you can use ServiceController class after importing the corresponding namespace.
thanx, there is another problem i'm experiencing,i used the servicecontroller to get all the services in the local machine.the problem is some services like(apache) can be started and stopped through this , but services like sqlserver service can't be stopped.