I am trying to determine if a computer is online. I do this before every server call so I can determine if the server is down, or the client is not connected. This method does not work for two reasons: 1. It takes forever to timeout if the computer is offline. 2. the call doesn't work if you do it too many times in a row (for hammering protection) even if you are online.
Is there a native method I can call or something that will work better?
public static bool ComputerOnline()
System.Net.HttpWebRequest wr = (System.Net.HttpWebRequest
ws = (System.Net.HttpWebRespons