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

# XSystemGetRuntimeInfo

> XSystemGetRuntimeInfo

# XSystemGetRuntimeInfo

Provides information about the current and available versions of the gaming runtime service.

## Syntax

```cpp theme={null}
XSystemRuntimeInfo XSystemGetRuntimeInfo(  
);
```

### Parameters

None.

### Return value

Type: [XSystemRuntimeInfo](/reference/system/xsystem/structs/xsystemruntimeinfo)

Returns an [XSystemRuntimeInfo](/reference/system/xsystem/structs/xsystemruntimeinfo) structure that contains information about the gaming runtime service.

## Remarks

This function can be called prior to calling [XGameRuntimeInitialize](/reference/system/xgameruntimeinit/functions/xgameruntimeinitialize).

## Requirements

**Header:** XSystem.h

**Library:** xgameruntime.lib

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

## See also

[XSystem](/reference/system/xsystem/xsystem_members)\
[XSystemRuntimeInfo](/reference/system/xsystem/structs/xsystemruntimeinfo)


## Related topics

- [XSystemRuntimeInfo](/reference/system/xsystem/structs/xsystemruntimeinfo.md)
- [XSystem](/reference/system/xsystem/xsystem_members.md)
- [Unity C# API wrappers for the GDK](/build/gdk-and-engines/unity/unity-api-wrappers.md)
- [XSystemGetAnalyticsInfo](/reference/system/xsystem/functions/xsystemgetanalyticsinfo.md)
- [XVersion](/reference/system/xgameruntimetypes/structs/xversion.md)
