Add SystemName and SystemVersion to Platform api

This commit is contained in:
2025-03-07 11:06:10 +01:00
parent cc7d88d4a9
commit 7135eb3591
15 changed files with 105 additions and 17 deletions
@@ -7,6 +7,7 @@
#include <string.h>
struct Guid;
struct Version;
struct CPUInfo;
struct MemoryStats;
struct ProcessMemoryStats;
@@ -372,6 +373,16 @@ public:
/// <returns>True if running on 64-bit computer, otherwise false.</returns>
API_PROPERTY() static bool Is64BitPlatform() = delete;
/// <summary>
/// Gets the name of the operating system.
/// </summary>
API_PROPERTY() static String GetSystemName() = delete;
/// <summary>
/// Gets the version of the operating system version.
/// </summary>
API_PROPERTY() static Version GetSystemVersion() = delete;
/// <summary>
/// Gets the CPU information.
/// </summary>