I\'ve got a project where I\'m hitting a bunch of custom Windows Performance Counters on multiple servers and aggregating them into a database. If a server is down, I want
The only "quick" way I think to see if it's up without relying on ping would be to create a socket, and see if you can actually connect to the port of the service you're trying to reach.
This would be the equivalent of telnet servername 135 to see if it's up.
Specifically...
System.Net.Sockets.TcpClient)Close() to cancel the connection.Disclaimer: I have no idea what effect this would have on any threat/firewall protection that may see this type of Connect / Disconnect with no data sent activity as a threat.