mirror of
https://github.com/jwetzell/qController.git
synced 2026-08-09 17:33:50 +00:00
27 lines
549 B
C#
27 lines
549 B
C#
//Currently deprecated would like to resurrect
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using Zeroconf;
|
|
|
|
|
|
namespace qController
|
|
{
|
|
public class QFinder
|
|
{
|
|
public QFinder()
|
|
{
|
|
}
|
|
|
|
public async void SearchForWorkspaces()
|
|
{
|
|
|
|
IReadOnlyList<IZeroconfHost> results = await ZeroconfResolver.ResolveAsync("_qlab._udp.local.");
|
|
foreach (var result in results){
|
|
Console.WriteLine(result.IPAddress);
|
|
}
|
|
Console.WriteLine("Done");
|
|
}
|
|
}
|
|
}
|