469,352 Members | 2,150 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,352 developers. It's quick & easy.

How to access windows services on remote machine using c#

13
How to access windows services on remote machine using C#.please give me some example code.also how to start/stop service on remote machine .please give me some example code.

thanks
prasad
Nov 12 '08 #1
2 10047
PRR
750 Expert 512MB
Look in to WMI( windows management instrumentation)... You could login remotly n loop through all services using Win32_SErvices class... and then start stop or send some commands to the windows service..Look into issues of remote access and firewall blocks..

Another work around is .net remoting...you could have a client and server for same purpose....

Check this
Nov 12 '08 #2
PRR
750 Expert 512MB
Have a look at this Win32_Service Class
Nov 12 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by William Wisnieski | last post: by
3 posts views Thread by Lyle Fairfield | last post: by
21 posts views Thread by Kevin Swanson | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.