Forums Help & support Use the source code

This topic contains 4 replies, has 2 voices, and was last updated by  George 7 years, 3 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #4835 Reply

    John

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

    #4836 Reply

    Svante
    Spectator

    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.

    #4872 Reply

    John

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

    #4874 Reply

    Svante
    Spectator

    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

    #4883 Reply

    George

    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…

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Use the source code
Your information: