Пример #1
0
 private void StartPing(MicrocontrollerListViewItem item)
 {
     if (item.address != null)
     {
         try {
             item.ping.SendAsync(item.address, 1000, null);
             Thread.Sleep(5);
         }
         catch (Exception) {
         }
     }
 }
 private void StartPing(MicrocontrollerListViewItem item)
 {
     if (item.address != null) {
         try {
             item.ping.SendAsync(item.address, 1000, null);
             Thread.Sleep(5);
         }
         catch (Exception) {
         }
     }
 }