GetEncryptedPayloadContentToFile
Security and encryption
Description
Extracts the complete encrypted PDF payload from the selected unencrypted wrapper to a file
Syntax
Delphi
Function TPDFlib.GetEncryptedPayloadContentToFile(Const FileName: WideString): Integer;ActiveX
Function PDFlib::GetEncryptedPayloadContentToFile(FileName As String) As LongDLL
int DLGetEncryptedPayloadContentToFile(int InstanceID, const wchar_t* FileName);Parameters
| FileName | Destination path that receives the exact embedded payload bytes |
|---|
Return values
| 1 | The payload was written |
|---|---|
| 0 | No valid wrapper is selected or the destination could not be written |
See also
GetEncryptedPayloadContentToString, GetEncryptedPayloadContentToVariant, GetEncryptedPayloadContentToStream