Exemple #1
0
 public static void UpdateDevice(Device device)
 {
     try
     {
         Display.UpdateDevice(devices.IndexOf(device), device.output);
     }
     catch { } //will throw if device deleted
 }
 public static void UpdateDevice(Device device)
 {
     try
     {
         Display.UpdateDevice(devices.IndexOf(device), device.output);
     }
     catch { } //if there is a ping request for a deleted device, it will throw
 }