Skip to content

Build and Version Metadata

v2rayroot edited this page Jun 14, 2026 · 1 revision

Build and Version Metadata

GetVersionInfo

char *GetVersionInfo(void);

Example:

{
  "codeVersion": 12,
  "version": "v26.3.27",
  "releaseDate": "2026-06-15 03:00:00 +0330"
}
Field Meaning
version Upstream Xray release tag
releaseDate Build timestamp in Tehran time
codeVersion GitHub Actions run number

The release pipeline injects these values into every architecture at build time. Include them in support reports and crash diagnostics.

Clone this wiki locally