Skip to main content
Gets the size of the buffer needed to hold the PlayFab secretKey. Will fail with E_PF_NOSECRETKEY if there is no Secret Key associated with the provided Entity.

Syntax

Parameters

handle   PFEntityHandle Entity handle. secretKeySize   size_t*
output
Buffer size required for the secretKey (including null terminator).

Return value

Type: HRESULT Result code for this API operation.

Requirements

Header: PFEntity.h

See also

PFEntity members
Last modified on August 3, 2026