private static void ReadEventLog(string portName, SmlComServiceClient proxy, Guid clientGuid)
        {
            Console.WriteLine("Reading event log.");
            var logList = proxy.ReadEventLog(clientGuid, portList.FirstOrDefault(m => m.ComPortName == portName));
            foreach (var li in logList)
            {
                Console.WriteLine("Event log read: {0}", Stringify(li));
            }

            Console.WriteLine();
        }