Skip to content

A collection of useful KeePass 2.x functions not exposed directly via the API

License

Notifications You must be signed in to change notification settings

andrew-schofield/keepass2-developerextensions

Repository files navigation

keepass2-developerextensions

A set of extension methods on native KeePass2 domain objects to aid plugin developers.

This project can either be built and the dll included directly, or you can reference the csproj file in your own Visual Studio solution.

Included functions

ProtectedStringExtensions

ValueEquals

bool ValueEquals(this ProtectedString protectedString, ProtectedString compareWith)

Compare equality of ProtectedStrings.

PwEntryExtensions

GetPasswordLastModified

DateTime GetPasswordLastModified(this PwEntry entry)

Returns the date of the last password modifiation. Relies on their being accurate and adequate history entries available.

IsDeleted

bool IsDeleted(this PwEntry entry, IPluginHost pluginHost)

Returns whether or not the entry is in a deleted state (in the recycle bin).

GetUrlDomain

string GetUrlDomain(this PwEntry entry)

Returns the domain (and tld) of the URL field if present.

GetIcon

Image GetIcon(this PwEntry entry, IPluginHost pluginHost)

Extract the icon from a given entry.

About

A collection of useful KeePass 2.x functions not exposed directly via the API

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages