UNetConnection::EnableEncryptionServer

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

Choose your operating system:

Windows

macOS

Linux

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 EnableEncryptionServer
(
    const FEncryptionData & EncryptionData
)

Remarks

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