Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In this chapter we'll talk about an important part of the proper functioning of the AppSDK App SDK - obtaining licenses from your code to unlock V-Ray.

The new online License Server, available at download.chaos.com, provides you with a fast and secure way to license both current products and those we plan to release in the near future. 


Obtaining a license

...

The AppSDK App SDK license is obtained automatically once the first renderer is created. If you don't have an AppSDK App SDK license available renderer creation will fail.

...

The Render Node license is released when rendering stops, whatever the reason. If communication with the license server is disrupted, the license will be released after a certain timeout.

The AppSDK App SDK license is released when the AppSDK App SDK module's deinitialization method is called, which happens implicitly. For Node.js and Python this means means vray.close(), for C++ it's the destructor of the VRayInit structure, for C# it happens completely under the hood. All these methods are called automatically by the SDK, so the user generally should not care about releasing the UI license.

...