<< Back


FVSDK_SetRegistrationID

Synopsis

FVSDK_ERROR_CODE FVSDK_SetRegistrationID(char* pszRegistrationID);

Description

Sets the registration ID for the FTP Voyager SDK after purchasing the software. There is no need to set the registration ID until the FVSDK is purchased.

NOTE: It is strongly recommended that the registration ID is set prior to calling any other function. This is to ensure proper operation after releasing your software developed with the FTP Voyager SDK. If this function isn't called first, the FTP Voyager SDK could eventually error out with one of the registration ID or trial error messages found in FVSDK_ErrorCodes.h.

To purchase the FTP Voyager Software Development Kit, visit http://www.RhinoSoft.com/purchase.htm.

Parameters

pszRegistrationID

A NULL terminated string containing the registration ID purchased from RhinoSoft.com.

Return Value

FVSDK_OK if the registration ID was saved, FVSDK_INVALID_PARAMETER if pszRegistrationID is NULL or empty.

Example

// tell the FTP Voyager Software Development Kit about the purchased license
FVSDK_SetRegistrationID("AIWwiur9 this is not a valid registration ID. :Iu923DjvXz;");