GetEnvironmentVariable

Overload list

Windows
MacOS
Linux
Name Description

Public function Static

FString

 

GetEnvironmentVariable

(
    const TCHAR* VariableName
)

Retrieve a environment variable from the system

Public function Static

void

 

GetEnvironmentVariable

(
    const TCHAR* VariableName,
    TCHAR* Result,
    int32 ResultLength
)

void FPlatformMisc::GetEnvironmentVariable(Name, Result, Length) is deprecated. Use FString FPlatformMisc::GetEnvironmentVariable(Name) instead.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss