bringing up processes on "slave" computers through windows service in c#

  • Thread starter Thread starter amir
  • Start date Start date
A

amir

Hello All,
Just wanted to know if c# has a class which can handle communication
between neighbour computers in same network so if i run a program on
one computer it will be able to bring up processes and have all other
properties of controling the state of that process through a service
which is already running on windows... that is, without opening
sockets ???
Thanks,
Amir.
 
amir said:
Hello All,
Just wanted to know if c# has a class which can handle communication
between neighbour computers in same network so if i run a program on
one computer it will be able to bring up processes and have all other
properties of controling the state of that process through a service
which is already running on windows... that is, without opening
sockets ???
Thanks,
Amir.


You really have to be more specific, for instance what "processes" are you talking about,
more precisely what kind of applications do you mean here and what do you mean with "
controlling the state"?

Willy.
 
You really have to be more specific, for instance what "processes" are you talking about,
more precisely what kind of applications do you mean here and what do you mean with "
controlling the state"?

Willy.

i am talking on programs that "sit" on other computers which i need to
bring up when before the program can start its run. meaning i have 4
different computers , 1 which the main program runs and oher 3 which
need to run 3 applications on their computers and then i can start run
my tests on the setup. i need to bring them up and occaisionally test
if they are still running ... or if at all they were able to run.
thnx,
amir
 
amir said:
i am talking on programs that "sit" on other computers which i need to
bring up when before the program can start its run. meaning i have 4
different computers , 1 which the main program runs and oher 3 which
need to run 3 applications on their computers and then i can start run
my tests on the setup. i need to bring them up and occaisionally test
if they are still running ... or if at all they were able to run.
thnx,
amir


Well, this doesn't answer the question what kind of applications these are, but
System.Diagnostics.Process is the class to look for. You can start a program and inspect
it's state on a remote computer using Process.Start (look for the MachineName property of
the Process class). However, be aware that you are constrained by the Windows security
system, you can't run an interactive program remotely for instance, you also need
administrative privileges on the remote computer, in order to start a remote application.

Willy.
 
Well, this doesn't answer the question what kind of applications these are, but
System.Diagnostics.Process is the class to look for. You can start a program and inspect
it's state on a remote computer using Process.Start (look for the MachineName property of
the Process class). However, be aware that you are constrained by the Windows security
system, you can't run an interactive program remotely for instance, you also need
administrative privileges on the remote computer, in order to start a remote application.

Willy.- Hide quoted text -

- Show quoted text -

Well that answers my questions... thnx a lot willy.
amir
 
Back
Top