OFTPConnectionVersion Property
This holds the version of OFTP supported by the client.
Syntax
ANSI (Cross Platform) int GetOFTPConnectionVersion(int iConnectionId); Unicode (Windows) INT GetOFTPConnectionVersion(INT iConnectionId);
Possible Values
OFTP_VER_12(0),
OFTP_VER_13(1),
OFTP_VER_14(2),
OFTP_VER_20(3)
- (int)OFTPConnectionVersion:(int)connectionId;
Possible Values
OFTP_VER_12(0),
OFTP_VER_13(1),
OFTP_VER_14(2),
OFTP_VER_20(3)
#define PID_OFTPSERVER_OFTPCONNECTIONVERSION 26 IPWORKSEDI_EXTERNAL void* IPWORKSEDI_CALL IPWorksEDI_OFTPServer_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSEDI_EXTERNAL int IPWORKSEDI_CALL IPWorksEDI_OFTPServer_CheckIndex(void *lpObj, int propid, int arridx);
Default Value
0
Remarks
This holds the version of OFTP supported by the client. This value cannot be changed. All communication with the client is performed using the version returned by this property. Possible values are:
0 (oftpVer12) | OFTP Version 1.2 |
1 (oftpVer13) | OFTP Version 1.3 |
2 (oftpVer14) | OFTP Version 1.4 |
3 (oftpVer20) | OFTP Version 2.0 |
The ConnectionId parameter specifies the index of the item in the array. The size of the array is controlled by the OFTPConnectionCount property.
This property is read-only and not available at design time.
Data Type
Integer