THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 24/03/2003 at 09:44, xxxxxxxx wrote:
Cinema 4D Version: 8.012
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C++ ;
The 'GeGetSerialInfo()' function returns the 11 digit C4D serial number. Is there any way of telling whether this is a temporary or a permanent serial number? C4D itself obviously knows...
Cheers - Steve
On 24/03/2003 at 11:10, xxxxxxxx wrote:
I guess you'll be out of luck - at least if you're trying to use this number for that purpose...
The decision includes testing the check sum provided after that 11 digit number, and Maxon will certainly not release that algorithm
On 24/03/2003 at 12:38, xxxxxxxx wrote:
Well the checksum presumeably validates the serial number, so you can't just make serial numbers up, but I was wondering whether it was possible to tell from the serial number alone - i.e. do all temporary serial numbers fall into a certain range?
On 24/03/2003 at 14:07, xxxxxxxx wrote:
Well, on my copy of R8 the temporary number has a "3" at the 4th digit, the final one a "0"... so maybe if you and a couple of others check their numbers, you actually may find a solution.
However, this approach - if valid at all - is not exactly what I would call safe or compatible, as Maxon may decide to change the numbering scheme any time...
On 24/03/2003 at 14:43, xxxxxxxx wrote:
Well presumeably Maxon can't change the scheme before R9 (when everyone will get a new set of numbers again anyway).
Since you can ask C4D what version it is, as well as what its serial number is then if there _is_ something in the 11 digit R8 serial numbers that marks them as temporary, you _should_ safely be able to use this information, as long as you also check the version number.
I agree that trying to guess the rule is not a safe approach, though...
Any comments from Maxon on this?
On 24/03/2003 at 14:56, xxxxxxxx wrote:
there is no way to determine this afaik.
On 25/03/2003 at 06:08, xxxxxxxx wrote:
Actually it is possible! it was with XL7 serials too! each digit in the 11 digits means something, this doesn't change for a major release, however, it may change for R9 etc. as the serials changed between XL7 and R8, but this could affect your plugin anyway since you have no way to know how it might change.
Kabe is correct that the 4th digit in the 11 digits determines if the serial is permanent or temporary. In the same way the 5th digit determines if the serial is Mac or PC, these are the most useful for plugin developers.
On 25/03/2003 at 06:11, xxxxxxxx wrote:
upps. Sorry then, my fault. And good to know
On 25/03/2003 at 09:31, xxxxxxxx wrote:
Excellent, thanks for the info!