Esempio n. 1
0
        static async private void AsyncMain()
        {
            //await EnumerateAllServicesFromAllHosts();

            Console.WriteLine("Searching...");
            Discoverer d = new Discoverer();
            await d.DiscoverNAO();
            foreach (NAOHost nao in d.NAOs)
            {
                if (verbose)
                    Console.WriteLine(nao.Name + ": " + nao.IP);
                else
                    Console.WriteLine(nao.IP);
            }
        }