Etag Property
The Etag of the file being sent.
Syntax
ANSI (Cross Platform) char* GetEtag();
int SetEtag(const char* lpszEtag); Unicode (Windows) LPWSTR GetEtag();
INT SetEtag(LPCWSTR lpszEtag);
@property (nonatomic,readwrite,assign,getter=etag,setter=setEtag:) NSString* etag; - (NSString*)etag; - (void)setEtag:(NSString*)newEtag;
#define PID_AS2SENDER_ETAG 37 IPWORKSEDI_EXTERNAL void* IPWORKSEDI_CALL IPWorksEDI_AS2Sender_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSEDI_EXTERNAL int IPWORKSEDI_CALL IPWorksEDI_AS2Sender_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
""
Remarks
This specifies the Etag for the file. This value should be set to an empty string the first time a file is sent using the Restart command. The class will generate a unique Etag based on the processed contents of the file and set this property when sending begins.
If a file is interrupted, this value must be set when Restart is called to resume transfer of the already processed file.
Data Type
String