Exe for checking Computer on Network

  • Thread starter Thread starter Stephen
  • Start date Start date
S

Stephen

Hi,

I am trying to copy files from one computer to another, the problem I am
facing is that the program chokes when the other computer is not available
(shut down/off the n/w).
is there any way programmatically that i check whether the other computer is
available?

Thanks,
Stephen
 
Stephen said:
Hi,

I am trying to copy files from one computer to another, the problem I am
facing is that the program chokes when the other computer is not available
(shut down/off the n/w).
is there any way programmatically that i check whether the other computer is
available?

Thanks,
Stephen

Just ping it (using the ping executable or the Win32_PingStatus WMI class).
 
Thanks John,
will try your suggestion,
Stephen

john smith said:
Just ping it (using the ping executable or the Win32_PingStatus WMI
class).
 
Hai

To do this you can go for PING are type the IP add of the
machine in the run command .Or if you want to check it for prorammatically
you try .Net remoting
..Using Connection if can check the ip add is avail or not .And u can also
able to create a queue using .net .When the server or machine is switched on
all the requesest send to the particular client.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top