Iterate over DB's in a Redis Instance

We currently use more than the one DB in a Redis instance and I’m wondering if it’s possible to connect to an instance and iterate over each DB that’s present. I’m looking to check if a DLQ is present but also wanting to perform some basic inspection of data present.

Is it only possible via specifying the DB in a connection string and connecting multiple times?

Not exactly iterate, but you can change the DB the client is currently connected to by setting:

client.Db = 2;

Thanks @mythz.

I did see that, but was then lost in how to then read an IMessage other than what we have used previously by getting a client via CreateMessageQueueClient and a RedisMqServer instance.

Something to check out further while in lockdown I guess.