UNetConnection::EnableEncryptionWithKeyServer

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

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.

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