Jebarson's dev blog

Coffee, Code

Network

Ping remote machines using .net

If you are looking for to ping a remote machine and you want to record the state along with status and return time, below example can help you.   private void Ping_Click(object sender, EventArgs e) { List domains = new List(); domains.Add(“www.bing.com”); domains.Add(“www.yahoo.com”); domains.Add(“jebarson.info”); foreach (string domain in domains) { Ping pinger = new Ping(); […]

Scroll to top