0
Answer

How to assign username and password when using GetService ?

Ask a question
borching

borching

20y
1.6k
1
I try to design as webpage to display and control the Windows Services. It is work when I connect to the local machine(where the webpage located), but when I try to connect to other computer in the same domain, it fails, and the error message is "no permission". I use "ServiceController.GetServices()" to get the services, does anybody know how to assign the username and password ? Thanks