I want to integrate saved KeePass credentials into another app (c#) - so my question is there any example how to open the keypass database with c# code? Would be nice to use the login form from KeyPass to authenticate the user. Then I should receive an object where I have access to the saved passwords. How to read the data I think I can find in other plugins. But not how to open the file.
Thanks for any hint.
Oliver
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You can import KeePass.exe into your project just as you would a DLL. The full source code of KeePass is here on SourceForge, so you can look in the code to see how to open a file.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I want to integrate saved KeePass credentials into another app (c#) - so my question is there any example how to open the keypass database with c# code? Would be nice to use the login form from KeyPass to authenticate the user. Then I should receive an object where I have access to the saved passwords. How to read the data I think I can find in other plugins. But not how to open the file.
Thanks for any hint.
Oliver
You can import KeePass.exe into your project just as you would a DLL. The full source code of KeePass is here on SourceForge, so you can look in the code to see how to open a file.
DevOma! This helped me!
https://stackoverflow.com/questions/4680352/store-sensitive-information-inside-keepass-database-from-c-sharp
Thanks Bradley - that was exactly what I'm looking for :-)