nn::nex::MatchmakeSession::GetSessionKey Member Function

Syntax

const qVector< qByte > & GetSessionKey() const;

Parameters

None.

Return Values

Common key for P2P communication.

Description

Gets a common key for P2P communication in the matchmaking session.

Gets a common key for P2P communications in the matchmaking session. A valid value is only set when the key is retrieved from the MatchmakeExtensionClient::AutoMatchmake and MatchmakeExtensionClient::FindMatchmakeSessionByGatheringIdDetail functions, or from the MatchmakeExtensionClient::CreateMatchmakeSession and MatchmakeExtensionClient::JoinMatchmakeSession functions that take MatchmakeSession as an out parameter. The key length is Network::MAX_P2P_SIGNATURE_KEY_LEN bytes.

See Also

Network::SetP2PDataPacketSessionSignatureKey

Revision History

2012/06/26
Initial version.

CONFIDENTIAL