Skip to main content
Version: 16.10.0

GW2LicenceDetails

The GW2LicenceDetails function returns the details of a licence loaded in for a session, including the number of days remaining and what entitlements are enabled.


#include "glasswall.core2.api.h"

const char * GW2LicenceDetails(Session session);

Parameters

session The ID of the session as returned by GW2OpenSession

Returns

  A pointer to a constant string describing the details of the licence for the session, or the string "Unknown Session ID" if session is invalid or the licence details could not be retrieved. The memory of the returned string does not need to be freed by the user, however further calls to GW2LicenceDetails will invalidate the returned string.