> ## Documentation Index
> Fetch the complete documentation index at: https://notevil.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# CAPLfunctionSecurityLocalGetAddOnVersion

[Open topic with navigation](../../../../../CANoeDEFamily.htm#Topics/CAPLFunctions/Security/Functions/CAPLfunctionSecurityLocalGetAddOnVersion.md)

## CAPL Functions » Security » SecurityLocalGetAddOnVersion

### Function Syntax

`SecurityLocalGetAddOnVersion(dword* major, dword* minor, dword* patch, dword* developmentNumber)`

### Description

Get version of the loaded add-on.

### Parameters

* **dword major \[OUT]**: Major version
* **dword minor \[OUT]**: Minor version
* **dword patch \[OUT]**: Patch version
* **dword developmentNumber \[OUT]**: Development number

### Return Values

* **1**: Success
* **0**: Failed

### Example

```c theme={null}
dword result;
dword major;
dword minor;
dword patch;
dword developmentNumber;
result = SecurityLocalGetAddOnVersion(major, minor, patch, developmentNumber);
```
