How do I read the contents of wallet.dat in C# I'd like to be able to add, remove, export etc. keypairs from my wallet.dat file. Looking over the source code of pywallet it doesn't look like such a tough task, but of course it's not as simple as from bsddb.db import * in C# and Google is failing me. Does anyone have some sample code or resources for how to handle wallet.dat in C#?
Wallet.dat is a Berkeley DB file.  You could check out Berkeley DB for .NET to see if it is able to read the file.