M
MattPKaiser
I am trying to find a way to check if a computer on a network is
"online" so that I can access a file on a share.
In short I maintain a list of computers that have my service running
(in the client application) and in my client program I allow the user
to change the computer that they are accessing.
If a computer that is on the list becomes unplugged and I try to
access a file with a FileStream the filestream creation takes 8-10
seconds before timing out. I wanted to know if there was a way to
quickly (1-2 seconds) determine if the computer is online? Otherwise
is there a way to access the file and specify a timeout?
Thanks
Matt
"online" so that I can access a file on a share.
In short I maintain a list of computers that have my service running
(in the client application) and in my client program I allow the user
to change the computer that they are accessing.
If a computer that is on the list becomes unplugged and I try to
access a file with a FileStream the filestream creation takes 8-10
seconds before timing out. I wanted to know if there was a way to
quickly (1-2 seconds) determine if the computer is online? Otherwise
is there a way to access the file and specify a timeout?
Thanks
Matt