How to assign username and password when using GetService ?
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