UNetConnection::SetEncryptionKey

Sets the key for the underlying encryption packet handler component, but doesn't modify encryption enabled state.

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 SetEncryptionKey
(
    TArrayView< const uint8 > Key
)

Remarks

Sets the key for the underlying encryption packet handler component, but doesn't modify encryption enabled state.

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