Daily Archives: 2017/03/31

C# syntax for encrypt.dll, an attempt was made to load a program with the incorrect format

my syntax is as follows, [DllImport("encryptpdf.dll", EntryPoint = "veryEncryptPDF")]public static extern long EncryptPDF(string inFileName, string outFileName, long EncryptLen, long permission, string OWNER, string user); however when I try to use it i get an error 'An attempt was made to … Continue reading

Posted in PDF Security | Tagged , | Leave a comment