Help with Communicating with additional PC's
-
:doh: Iam new to programming in .NET's C++ and I am a little puzzeled on how to perform the following Objective: I need to have a main PC communicate with to other PC's. The information I need from the additional PC's is what is currently running(i.e. windows programs, etc.) and send a message back. After that I need to have the main PC shutdown or shutdown/reboot the additional PC's and or the main PC I know I know how to perform the Shutdown or shutdown/reboot. How do I communicate with the other PC's to tell me what is running on them? Is there anything that I can research which will help me? Thank you for your help
-
:doh: Iam new to programming in .NET's C++ and I am a little puzzeled on how to perform the following Objective: I need to have a main PC communicate with to other PC's. The information I need from the additional PC's is what is currently running(i.e. windows programs, etc.) and send a message back. After that I need to have the main PC shutdown or shutdown/reboot the additional PC's and or the main PC I know I know how to perform the Shutdown or shutdown/reboot. How do I communicate with the other PC's to tell me what is running on them? Is there anything that I can research which will help me? Thank you for your help
You might use the windows performance monitor api. If you have used the windows performance monitor, you know that you can look at a report of what processes are running. Look at WMI. Alternatively, rather than query for all that info and make a remote decision, why not signal a check on the computer to be shut down? You would write a service that would run on the shutdown-able PCs. There are multiple ways to signal the remote service, however since you probably are interested in signalling all such PCs, a mailslot (using a * for the coputer name) may be the easiest approach. Obviously, I'm not providing details here, but direction for further research on your part. tim tim Founder, TMurgent Technologies www.tmurgent.com tmangan@tmurgent.com