Windows Info Library
Windows version, build, edition, machine identity, keyboard-layout, and system-language nodes.
Use this library to display or log Windows identity and basic operating-system information.
Python examples use Unreal's reflected API names through the unreal module. Async, delegate-driven, and unsupported wildcard-style nodes are intentionally left as C++-only examples.
Get Windows Version
Returns the current Windows product family such as Windows 10 or Windows 11.
| Pin | Direction | Purpose |
|---|---|---|
Return Value | Output | Windows version string. |
#include "WindowsInfoBPLibrary.h"
const FString Version = UWindowsInfoBPLibrary::GetWindowsVersion();import unreal
version = unreal.WindowsInfoBPLibrary.get_windows_version()Get Windows Build
Returns the Windows build number including UBR when available.
| Pin | Direction | Purpose |
|---|---|---|
Return Value | Output | Windows build string. |
#include "WindowsInfoBPLibrary.h"
const FString Build = UWindowsInfoBPLibrary::GetWindowsBuild();import unreal
build = unreal.WindowsInfoBPLibrary.get_windows_build()Get Windows Edition
Returns the installed Windows edition such as Home, Pro, or Enterprise.
| Pin | Direction | Purpose |
|---|---|---|
Return Value | Output | Windows edition string. |
#include "WindowsInfoBPLibrary.h"
const FString Edition = UWindowsInfoBPLibrary::GetWindowsEdition();import unreal
edition = unreal.WindowsInfoBPLibrary.get_windows_edition()Get Computer Name
Returns the local computer name.
| Pin | Direction | Purpose |
|---|---|---|
Return Value | Output | Computer name string. |
#include "WindowsInfoBPLibrary.h"
const FString ComputerName = UWindowsInfoBPLibrary::GetPCName();import unreal
computer_name = unreal.WindowsInfoBPLibrary.get_pc_name()Get User Name
Returns the current local user name.
| Pin | Direction | Purpose |
|---|---|---|
Return Value | Output | Local user name string. |
#include "WindowsInfoBPLibrary.h"
const FString UserName = UWindowsInfoBPLibrary::GetLocalUserName();import unreal
user_name = unreal.WindowsInfoBPLibrary.get_local_user_name()Get Keyboard Layout
Returns the current Windows keyboard-layout identifier.
| Pin | Direction | Purpose |
|---|---|---|
Return Value | Output | Keyboard-layout identifier such as 00000409. |
Example layout identifiers:
| Layout ID | Meaning |
|---|---|
00000409 | English (United States) |
0000040C | French (France) |
00000407 | German (Germany) |
00020401 | Arabic (102) |
#include "WindowsInfoBPLibrary.h"
const FString KeyboardLayout = UWindowsInfoBPLibrary::GetCurrentKeyboardLayout();import unreal
keyboard_layout = unreal.WindowsInfoBPLibrary.get_current_keyboard_layout()Get System Language
Returns the current Windows system language as a locale name.
| Pin | Direction | Purpose |
|---|---|---|
Return Value | Output | Locale name such as en-US or fr-FR. |
Typical values:
en-USfr-FRde-DEar-MA
#include "WindowsInfoBPLibrary.h"
const FString SystemLanguage = UWindowsInfoBPLibrary::GetSystemLanguage();import unreal
system_language = unreal.WindowsInfoBPLibrary.get_system_language()Last updated on