    

 ## On this page

  

 

 # getVersion

 Last update: 16.07.2025 

abstract fun [getVersion](get-version.md)(index: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)

Gets the ModelCenter version

#### Return

the version number requested

#### Parameters

indexThe version item to get:   
- 0 - Major version - 1 - Minor version - 2 - Patch version#### Throws

[ModelCenterException](../-model-center-exception/index.md)