IPWorks OpenPGP 2020 C++ Edition

Questions / Feedback?

PartDecodedFile Property

The filename with the decoded data.

Syntax

ANSI (Cross Platform)
char* GetPartDecodedFile(int iPartIdx);
int SetPartDecodedFile(int iPartIdx, const char* lpszPartDecodedFile); Unicode (Windows) LPWSTR GetPartDecodedFile(INT iPartIdx);
INT SetPartDecodedFile(INT iPartIdx, LPCWSTR lpszPartDecodedFile);
- (NSString*)partDecodedFile:(int)partIdx;
- (void)setPartDecodedFile:(int)partIdx:(NSString*)newPartDecodedFile;
#define PID_MIME_PARTDECODEDFILE 15

IPWORKSOPENPGP_EXTERNAL void* IPWORKSOPENPGP_CALL IPWorksOpenPGP_MIME_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSOPENPGP_EXTERNAL int IPWORKSOPENPGP_CALL IPWorksOpenPGP_MIME_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKSOPENPGP_EXTERNAL int IPWORKSOPENPGP_CALL IPWorksOpenPGP_MIME_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

""

Remarks

The filename with the decoded data. Accessing this property for the first time after calling the DecodeFromString or DecodeFromFile method, directs the class to actually decode the part and save the data in a temporary file. The user is responsible for deleting the temporary file.

Setting a value to PartDecodedFile directs the component to calculate the file size and fill out the respective PartSize.

The PartIdx parameter specifies the index of the item in the array. The size of the array is controlled by the PartCount property.

This property is not available at design time.

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks OpenPGP 2020 C++ Edition - Version 20.0 [Build 8249]