Version Property
Which version of the OFTP protocol the class is using.
Syntax
ANSI (Cross Platform) int GetVersion();
int SetVersion(int iVersion); Unicode (Windows) INT GetVersion();
INT SetVersion(INT iVersion);
Possible Values
OFTP_VER_12(0),
OFTP_VER_13(1),
OFTP_VER_14(2),
OFTP_VER_20(3)
@property (nonatomic,readwrite,assign,getter=version,setter=setVersion:) int version; - (int)version; - (void)setVersion:(int)newVersion;
Possible Values
OFTP_VER_12(0),
OFTP_VER_13(1),
OFTP_VER_14(2),
OFTP_VER_20(3)
#define PID_OFTPCLIENT_VERSION 48 IPWORKSEDI_EXTERNAL void* IPWORKSEDI_CALL IPWorksEDI_OFTPClient_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSEDI_EXTERNAL int IPWORKSEDI_CALL IPWorksEDI_OFTPClient_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
3
Remarks
This property specifies which version of the OFTP protocol to use. Possible values are:
0 (oftpVer12) | 1.2 |
1 (oftpVer13) | 1.3 |
2 (oftpVer14) | 1.4 |
3 (oftpVer20 - default) | 2.0 |
Note: Version 2.0 (oftpVer20) of the protocol must be used when using security functions. The following properties are only applicable when using Version 2.0:
Data Type
Integer