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

# GetHardwareVersion

> Returns the hardware revision number reported by a LampArray peripheral, useful for detecting firmware differences across otherwise identical devices.

Retrieves the hardware version number for an ILampArray.

## Syntax

```cpp theme={null}
uint16_t GetHardwareVersion(
)
```

### Parameters

This method has no parameters.

### Return value

Type: uint16\_t

The hardware version.

## Requirements

**Header:** LampArray.h

**Library:** xgameplatform.lib

**Supported platforms:** XBOX One family consoles and XBOX Series consoles

## See also

[Lighting API Overview](https://docs.xbox.com/build/core-features/common/lighting/gc-lighting-toc.md)\
[ILampArray](https://docs.xbox.com/reference/lighting/lamparray/interfaces/ilamparray/ilamparray.md)


## Related topics

- [ILampArray (Interface contents)](https://docs.xbox.com/reference/lighting/lamparray/interfaces/ilamparray/ilamparray.md)
- [GameInputVersion](https://docs.xbox.com/reference/input/gameinput/structs/gameinputversion.md)
- [Invites across Xbox One Software Development Kit/GDK title versions](https://docs.xbox.com/services/xbox-services/multiplayer/invites/concepts/live-multiplayer-xdkinvites.md)
- [GetDeviceInfo](https://docs.xbox.com/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_getdeviceinfo.md)
- [Cross-generation gaming](https://docs.xbox.com/build/console-features/cross-gen/cross-gen-overview.md)
