    

 ## On this page

  

 

 # getVersion

 Last update: 30.07.2026 

public [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)