- Joined
- Jun 10, 2009
- Messages
- 659
- Reaction score
- 141
Here is the implementation :
This is the working implementation. I request moderator to move this to tutorial section as it can help people coding ZA 562 in dot net. For the C++ code please check http://forum.ragezone.com/f487/release-acl-decrypt-dll-786892/ thread!
Code:
public static class Crypt
{
[DllImportAttribute("asdecr.dll", EntryPoint = "decrypt_acl", CallingConvention = CallingConvention.Cdecl)]
public static extern int decrypt_acl(IntPtr acldata, int size, int header);
[DllImportAttribute("asdecr.dll", EntryPoint = "encrypt_acl", CallingConvention = CallingConvention.Cdecl)]
public static extern int encrypt_acl(IntPtr acldata, int size, int header);
}
This is the working implementation. I request moderator to move this to tutorial section as it can help people coding ZA 562 in dot net. For the C++ code please check http://forum.ragezone.com/f487/release-acl-decrypt-dll-786892/ thread!
Last edited: