FApp::GetSessionId

Gets the identifier of the session that this application is part of.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/App.h

Include

#include "Misc/App.h"

Syntax

static FGuid GetSessionId()

Remarks

Gets the identifier of the session that this application is part of.

A session is group of applications that were launched and logically belong together. For example, when starting a new session in UFE that launches a game on multiple devices, all engine instances running on those devices will have the same session identifier. Conversely, sessions that were launched separately will have different session identifiers.

Returns

Session identifier, or an invalid GUID if there is no local instance.

See Also

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