Currently it's not possible to get access to all databases which are opened (locked and unlocked) in KeePass.
You can only get access to the one database which is focused in KeePass.
Please add a possibility to get access to all databases.
You already can get access to all opened databases by m_host.MainWindow.DocumentManager.Documents (query the Database property of each PwDocument).
Thank you for your fast response.
That's really great!
I didn't find it when I searched for it.