Registration_IsKeyValid

The Registration_IsKeyValid function verifies that a registration key is valid or invalid for a particular product.

int Registration_IsKeyValid(
	short   productID, // The product ID registered
	int	 version, 	// The version of the product
	char*   companyName, // The name of the company
	char*   key[5]		// An array of key segments
);

Parameters:

productID
	[in] The product ID that the registration key is for.
version
	[in] The version of the registration key.
companyName
	[in] The name of the company the product is registered to.
key[5]
	[in] An 5 element array of null-terminated key segment strings.

Return Values: