---
title: version
framework: endpointsecurity
role: symbol
role_heading: Instance Property
path: endpointsecurity/es_message_t/version
---

# version

The version of the Endpoint Security message.

## Declaration

```swift
var version: UInt32
```

## Discussion

Discussion Clients wishing to be backward-compatible with future changes to Endpoint Security should inspect the version to ensure they don’t try to access fields that aren’t available.

## See Also

### Inspecting Message Properties

- [action](endpointsecurity/es_message_t/action.md)
- [action_type](endpointsecurity/es_message_t/action_type.md)
- [es_action_type_t](endpointsecurity/es_action_type_t.md)
- [es_event_id_t](endpointsecurity/es_event_id_t.md)
- [es_result_t](endpointsecurity/es_result_t.md)
