# 7.35. ODPI-C Structure dpiVersionInfo

This structure is used for returning Oracle version information about the Oracle Client (`dpiContext_getClientVersion()`) and Oracle Database (`dpiConn_getServerVersion()`).

int dpiVersionInfo.versionNum

  Specifies the major version of the Oracle Client or Database.

int dpiVersionInfo.releaseNum

  Specifies the release version of the Oracle Client or Database.

int dpiVersionInfo.updateNum

  Specifies the update version of the Oracle Client or Database.

int dpiVersionInfo.portReleaseNum

  Specifies the port specific release version of the Oracle Client or Database.

int dpiVersionInfo.portUpdateNum

  Specifies the port specific update version of the Oracle Client or Database.

uint32_t dpiVersionInfo.fullVersionNum

  Specifies the full version (all five components) as a number that is suitable for comparison with the result of the macro DPI_ORACLE_VERSION_TO_NUMBER.