getting C4D serial number

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 06/06/2003 at 19:47, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   8.100 
Platform:   Windows  ; Mac  ;  
Language(s) :     C++  ;

---------
Does anyone have a sample of how to retrieve the serial number to use to verify against a license code?

The doc page is blank and the header file I found seems to require that I already have the serial number to call it. Looks confusing.

Anyone have a sample to retrieve the serial number (or part of it)?

Thanks,
David

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 07/06/2003 at 04:39, xxxxxxxx wrote:

1. Of course the example needs you to have the serialnumber already. You then need to generate a serialnumber for your plugin and send it back to the customer. The customer will then type this into a dialog of your plugin...
2. GeGetSerialInfo().nr will return a string with the first 11 digits of the currently running cinema 4d version

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 07/06/2003 at 11:28, xxxxxxxx wrote:

Thanks!

New plugins all finished!

David

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 23/05/2004 at 18:14, xxxxxxxx wrote:

Howdy,

How do I use GeGetSerialInfo().nr?
I tried this....

String sn = GeGetSerialInfo().nr;

...but I get an error.

Adios,
Cactus Dan

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 24/05/2004 at 03:46, xxxxxxxx wrote:

    
    
    SerialInfo si;   
    GeGetSerialInfo(SERIAL_CINEMA4D,&si);   
    String sn = si.nr;

This should do it.

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 24/05/2004 at 17:35, xxxxxxxx wrote:

Howdy,

Thanks Samir, that worked.
I reckon I tried everything except using the & symbol.

Adios,
Cactus Dan