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.
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();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();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();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();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();Get Keyboard Layout
Returns the current Windows keyboard-layout identifier.
Example layout identifiers:
| Layout ID | Meaning |
|---|---|
00000409 | English (United States) |
0000040C | French (France) |
00000407 | German (Germany) |
00020401 | Arabic (102) |
| Pin | Direction | Purpose |
|---|---|---|
Return Value | Output | Keyboard-layout identifier such as 00000409. |
#include "WindowsInfoBPLibrary.h"
const FString KeyboardLayout = UWindowsInfoBPLibrary::GetCurrentKeyboardLayout();Get System Language
Returns the current Windows system language as a locale name.
Typical values:
| Pin | Direction | Purpose |
|---|---|---|
Return Value | Output | Locale name such as en-US or fr-FR. |
#include "WindowsInfoBPLibrary.h"
const FString SystemLanguage = UWindowsInfoBPLibrary::GetSystemLanguage();Example Locale Formats
| Code | Language |
|---|---|
en-US | English (United States) |
fr-FR | French (France) |
de-DE | German (Germany) |
Last updated on