Secure file encryption since 2001
Community

Use the source code

2 replies 2 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] …

2 replies

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.