Secure file encryption since 2001
Help & support

Use the source code

4 replies 3 participants Started Active

Actions

Reply
John Guest
Report spam

Hi, i need help. I want to use some methods from source code for decrypt file, Please, need simple example...

My current code is...

Var stream = new FileStream("path to file",FileMode.Open);

var lAstream = new LookAheadStream(stream);

var reader = new V1AxCryptReader(lAstream);

var doc = new V1AxCryptDocument(reader);

if(doc.Load(Passphrase.Create("passw"),AxCryptGuid.Value,new Headers()))

Console.Write("success");

else Console.Write("fail");

Exception is "unregistered type. initilize with typemap.register[singleton|new] ...

4 replies
AxCrypt Support AxCrypt Team
· 1,810 posts
Report spam

Hello John!

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.

John Guest Topic starter
Report spam

I'dont know enough about the type registry, which team use it... i need little more info with type registry... Please...

AxCrypt Support AxCrypt Team
· 1,810 posts
Report spam

Sorry John, but I can't help you out here... It's all there in the source code, but we cannot provide help from AxCrypt.

Maybe someone in the community would like to jump in?

Svante

George Guest
Report spam

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...

Reply to this topic

Posting as a guest. Log in or sign up to get reply notifications and edit your posts.

Tip: describe your AxCrypt version, operating system and the exact error message. Never post your password or license key.