GenerateAuth

GameSpy SDK

GenerateAuth

Used on the CLIENT SIDE to generate an authentication reply (auth_N) for a given challenge and password (CD Key or Profile password).

char * GenerateAuth(
char * challenge,
gsi_char * password,
char response[33] );
RoutineRequired HeaderDistribution
GenerateAuth<gstats.h>SDKZIP

Return Value

A pointer to the response parameter.

Parameters

challenge
[in] The challenge string sent by the server. On the server this should be generated with GetChallenge.
password
[in] The CD Key (un-hashed) or profile password.
response
[out] The output authentication string.

Section Reference: Gamespy Stats and Tracking SDK

See Also: GetChallenge