Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Checking license of student version

    SDK Help
    0
    3
    369
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      Helper
      last edited by

      On 17/01/2017 at 14:52, xxxxxxxx wrote:

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

      ---------
      I am checking the cinema 4d serial against a generated value.
      Below is my code.
      Do I need to check something special when the serial is a Student Version?

      Following info was given by the user: Mac OS 10.10.5, Cinema 4D R18.039 (Student Version - Restricted License) Build RB183317

      	if (IsDemo() || IsCommandLine() || IsNet())
      	  {
      		if (debug) GePrint("Demo, CommandLine or IsNet License.");
      		return true;
      	  }
        
          SerialInfo info;
          GeGetSerialInfo(SERIALINFO_MULTILICENSE, &info);
          if (!info.nr.Content()) {
              GeGetSerialInfo(SERIALINFO_CINEMA4D, &info);
          }
      	else
      	{
      		if (debug) GePrint("MultiLicense.");
      		return true;
      	}
      
      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

        On 18/01/2017 at 08:42, xxxxxxxx wrote:

        Hi Pim,

        just want to let you know, that I'm working on it (as well as Klaus' serial number related question in the other thread).

        1 Reply Last reply Reply Quote 0
        • H
          Helper
          last edited by

          On 18/01/2017 at 08:53, xxxxxxxx wrote:

          Well, together with the user we solved the issue.
          So, I do not think it has anything to do with the student version.

          Thanks, Pim

          1 Reply Last reply Reply Quote 0
          • First post
            Last post