C# source code to unlock password protected PDF file on .NET Framework, .NET Core, and PHP, VBScript, Delphi, C++ via COM Interop....dataDir + "Decrypt.pdf" , "password" ); // Decrypt PDF document...document . Decrypt (); dataDir = dataDir + "Decrypt_out.pdf" ; // Save...