static void Main(string[] args) { Service beacon = new Service(); UpdateQuery[] updateChecks = new UpdateQuery[2]; updateChecks[0] = new UpdateQuery(); updateChecks[0].GUID = "21E2E8A6-969F-43F5-89C9-7AD71136CB2B"; updateChecks[0].Version = "0.0.1.8"; updateChecks[0].Architecture = "32"; updateChecks[1] = new UpdateQuery(); updateChecks[1].GUID = "1DB1CC9E-9D52-4BDE-93DC-265C62E4168C"; updateChecks[1].Version = "0.0.0.1"; updateChecks[ 1].Architecture = "32"; beacon.HandleQueryResults += new ReceiveQueryResults(GetResults); beacon.CheckAvailableUpdates(updateChecks); while (!beacon.QueryComplete) { Thread.Sleep(500); } Console.WriteLine("Press any key to continue ....."); Console.ReadKey(); }