private static void AddDevice(object?sender, DreamScreenClient.DeviceDiscoveryEventArgs e) { _devices.Add(e.Device); }
private static void ProcessDevice(object?sender, DreamScreenClient.DeviceDiscoveryEventArgs e) { var dev = e.Device; Console.WriteLine("Device found: " + dev.Name); }