UNetConnection::EnableEncryptionWithKeyServer

Sets the encryption key, enables encryption, and sends the encryption ack to the client.

Choose your operating system:

Windows

macOS

Linux

Deprecated

  • Use SetEncryptionData instead.

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/NetConnection.h

Include

#include "Engine/NetConnection.h"

Source

/Engine/Source/Runtime/Engine/Private/NetConnection.cpp

Syntax

void EnableEncryptionWithKeyServer
(
    TArrayView< const uint8 > Key
)

Remarks

Sets the encryption key, enables encryption, and sends the encryption ack to the client.