static void Main(string[] args) { EventQueryExample ex = new EventQueryExample(); ex.QueryActiveLog(); //ex.QueryExternalFile(); //ex.QueryRemoteComputer(); Console.WriteLine("Hello World!"); // Keep the console window open in debug mode. Console.WriteLine("Press any key to exit."); Console.ReadKey(); }