This is probably old news to most people but I ended up googling for it so I'll record it here. Since .Net 2.0 there is a handy Ping class in the System.Net.NetworkInformation namespace that encapsulates - you guessed it - ping functionality. Here's some example code for performing a synch...
[More]