private void ConnectionError(object sender, ConnectionErrorEventArgs e) { Console.WriteLine("Error: " + EyetrackerErrors.getDescription(e.ErrorCode)); Console.WriteLine("Disconnecting from " + info.ProductId); Disconnect(); }