static public method CO2GTransport.getApplicationID
Brief
Gets an application id property.
Declaration | ||||
|
Parameters | |
[in, out]applicationID |
Returns an applicationID string. In case the parameter is NULL, the len parameter will contain the size of the string after the method is called. A client application should allocate memory for the string. The memory size shall be equal to the returned len parameter. Then the client application should pass the buffer as this parameter. The returned string will be placed into the buffer. |
[in,out]len |
Len of the string passed in the applicationID parameter. In case the applicationID parameter is NULL or the size is not enough for copying the apllicationID value, the necessary size is returned. |
Details
The method returns currently sent application id during the login procedure.
Get Application ID [hide]
size_t len; CO2GTransport::getApplicationID(NULL, len); char *appID = new char[len]; CO2GTransport::getApplicationID(appID, len); printf("Application ID: %s\n", appID); delete[] appID;
Declared in CO2GTransport