UPendingNetGame::SetEncryptionKey

Set the encryption key for the connection.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/PendingNetGame.h

Include

#include "Engine/PendingNetGame.h"

Source

/Engine/Source/Runtime/Engine/Private/PendingNetGame.cpp

Syntax

void SetEncryptionKey
(
    const FEncryptionKeyResponse & Response
)

Remarks

Set the encryption key for the connection. This doesn't cause outgoing packets to be encrypted, but it allows the connection to decrypt any incoming packets if needed.

Parameters

Parameter

Description

Response

response from the game containing its encryption key or an error message