Windows Native Toolkit

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.

PinDirectionPurpose
Return ValueOutputWindows version string.
C++ Example
#include "WindowsInfoBPLibrary.h"

const FString Version = UWindowsInfoBPLibrary::GetWindowsVersion();
Python Example
import unreal

version = unreal.WindowsInfoBPLibrary.get_windows_version()

Get Windows Build

Returns the Windows build number including UBR when available.

PinDirectionPurpose
Return ValueOutputWindows build string.
C++ Example
#include "WindowsInfoBPLibrary.h"

const FString Build = UWindowsInfoBPLibrary::GetWindowsBuild();
Python Example
import unreal

build = unreal.WindowsInfoBPLibrary.get_windows_build()

Get Windows Edition

Returns the installed Windows edition such as Home, Pro, or Enterprise.

PinDirectionPurpose
Return ValueOutputWindows edition string.
C++ Example
#include "WindowsInfoBPLibrary.h"

const FString Edition = UWindowsInfoBPLibrary::GetWindowsEdition();
Python Example
import unreal

edition = unreal.WindowsInfoBPLibrary.get_windows_edition()

Get Computer Name

Returns the local computer name.

PinDirectionPurpose
Return ValueOutputComputer name string.
C++ Example
#include "WindowsInfoBPLibrary.h"

const FString ComputerName = UWindowsInfoBPLibrary::GetPCName();
Python Example
import unreal

computer_name = unreal.WindowsInfoBPLibrary.get_pc_name()

Get User Name

Returns the current local user name.

PinDirectionPurpose
Return ValueOutputLocal user name string.
C++ Example
#include "WindowsInfoBPLibrary.h"

const FString UserName = UWindowsInfoBPLibrary::GetLocalUserName();
Python Example
import unreal

user_name = unreal.WindowsInfoBPLibrary.get_local_user_name()

Get Keyboard Layout

Returns the current Windows keyboard-layout identifier.

PinDirectionPurpose
Return ValueOutputKeyboard-layout identifier such as 00000409.

Example layout identifiers:

Layout IDMeaning
00000409English (United States)
0000040CFrench (France)
00000407German (Germany)
00020401Arabic (102)
C++ Example
#include "WindowsInfoBPLibrary.h"

const FString KeyboardLayout = UWindowsInfoBPLibrary::GetCurrentKeyboardLayout();
Python Example
import unreal

keyboard_layout = unreal.WindowsInfoBPLibrary.get_current_keyboard_layout()

Get System Language

Returns the current Windows system language as a locale name.

PinDirectionPurpose
Return ValueOutputLocale name such as en-US or fr-FR.

Typical values:

  • en-US
  • fr-FR
  • de-DE
  • ar-MA
C++ Example
#include "WindowsInfoBPLibrary.h"

const FString SystemLanguage = UWindowsInfoBPLibrary::GetSystemLanguage();
Python Example
import unreal

system_language = unreal.WindowsInfoBPLibrary.get_system_language()

Last updated on

On this page