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
    • Recent
    • Tags
    • Users
    • Login

    Limitation of Use

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 298 Views
    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 Offline
      Helper
      last edited by

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

      On 13/11/2009 at 05:45, xxxxxxxx wrote:

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

      ---------
      Hello,

      is there a possibility to limit the use of a plugin? I would like a function, where I can write a fixed date into. Only during this timespan should it be possible to use it and at the end of the date nobody still can use the plugin. Exists such a function? If yes, is there an example code and where ( class ) must I integrate the code?

      Thanks,

      coffeemax

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

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

        On 13/11/2009 at 15:41, xxxxxxxx wrote:

        Set up a SNHookClass derived class and set up the demo expiration as described here (scroll down about half way) :

        https://developers.maxon.net/forum/topic/3546/2968_getting-serial-number-in-netrender

        Then you can check the validity of the demo in the function to allow it to work or not depending upon expiration (store the result in a global variable or as a class member).

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

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

          On 19/11/2009 at 03:55, xxxxxxxx wrote:

          Thank you, your example is very good and it works :).

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