I used the example from the following link Nuget for HueApi
static void Main(string[] args)
{
IBridgeLocator locator = new SSDPBridgeLocator();
//For Windows 8 and .NET45 projects you can use the SSDPBridgeLocator which actually scans your network.
//See the included BridgeDiscoveryTests and the specific .NET and .WinRT projects
IEnumerable<string> bridgeIPs = locator.LocateBridgesAsync(TimeSpan.FromSeconds(5)).GetAwaiter().GetResult();
foreach (var bridgeIp in bridgeIPs)
{
Console.WriteLine(bridgeIp);
}
Console.ReadLine();
}
When I run this console app it doesn't find the bridge ip address. Can someone explain me what I am doing wrong? I verified that the bridge of Philips Hue is working fine.
How can I automatically find the Philips Hue bridge in a network?
Which credentials should I run the console app on?