foreach (ServiceController ctrl in ServiceController.GetServices(m_machineName))
which means according to microsoft
Cannot open Service Control Manager on computer 'MARCOLD'. This operation might require other privileges.
I've done some search on google and found out that it was a security issue... haha Now, how to impersonate a user and Logon to the other machine?
How to change User level configuration for according privileges.
I have tried to create a new user to the remote machine, but without success, got same error.
What privileges are needed ?
Anyway,
If you have any document information regarding communication between windows services, let me know.
Thanks.