Sorry, but generally we can’t give source code support. Perhaps someone else in the community would like to help?
A quick hint though – check the methods in class AxCryptFile, I think they will do more of what you’re looking for. As for the type registry, check out Program.cs – you’ll find all the required type registrations there.
We will be providing a SDK with sample code in the future, but we’re not there quite yet.
If you need this sort of assistance you really shouldn’t be considering using the source code to decrypt a file. Stay with the pre-compile binary.
Alternatively you could pay a local software engineer to assist you. It’s not fair to expect AxCrypt to provide you with programming help when they provide perfectly working software to do this for you.
Or you could offer to pay a few thousand Euros to AxCrypt in return for their expertise…