Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using (var deviceDiscovery = new DeviceDiscovery())
- {
- Console.WriteLine("Looking for Sky boxes:");
- boxIpAddresses = await deviceDiscovery.FindSkyBoxesAsync(ipAddresses, TimeSpan.FromSeconds(3));
- }
- if (!boxIpAddresses.Any())
- {
- Console.WriteLine("No Sky Q boxes found!");
- }
- foreach (var boxIpAddress in boxIpAddresses)
- {
- Console.WriteLine($"{boxIpAddress}");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement