Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UPendingNetGame
Description
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.
| Name | SetEncryptionKey |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/PendingNetGame.h |
| Include Path | #include "Engine/PendingNetGame.h" |
| Source | /Engine/Source/Runtime/Engine/Private/PendingNetGame.cpp |
void SetEncryptionKey
(
const FEncryptionKeyResponse & Response
)
Parameters
| Name | Remarks |
|---|---|
| Response | response from the game containing its encryption key or an error message |