mirror of
https://github.com/jwetzell/qController.git
synced 2026-08-21 23:19:17 +00:00
Initial check-in of module qController
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
//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");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user