---
title: GetVersion
description: "获取产品版本号。"
url: https://www.hikunpeng.com/document/detail/zh/kunpengboostkithistory/240RC1/armnative/kunpengcpsvideo_16_0017.html
sourcePath: /source/zh/kunpengboostkithistory/240RC1/armnative/kunpengcpsvideo_16_0017.html
indexId: 5577661857b592317e3741e87149f461dee59fba46e91dc29165e0fac1d25d0479
---
# GetVersion

#### 函数功能

获取产品版本号。


#### 约束说明

NA


#### 函数原型

const char *GetVersion()


#### 参数说明

NA


#### 返回值说明

数据类型：char *

取值为“Kunpeng BoostKit”开头的字符串，表明当前服务端接口对应的版本号。

该版本号为产品版本号，与VmiVersion模块版本号无关。
