Menu

How to access keypass database/file from another c# app

DevOma
2017-09-20
2017-09-21
  • DevOma

    DevOma - 2017-09-20

    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

     
  • David Lechner

    David Lechner - 2017-09-20

    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

    DevOma - 2017-09-21

    Thanks Bradley - that was exactly what I'm looking for :-)

     

Log in to post a comment.