PlugInGetLicense Method (LicenseBuildType, ValidateProductKeyDelegate)
Verifies that there is a valid product license for your plug-in, using
the Rhino licensing system. If the plug-in is installed as a standalone
node, the locally installed license will be validated. If the plug-in
is installed as a network node, a loaner license will be requested by
the system's assigned Zoo server. If the Zoo server finds and returns
a license, then this license will be validated. If no license is found,
then the user will be prompted to provide a license key, which will be
RhinoCommon (in RhinoCommon.dll)
public bool GetLicense(
Public Function GetLicense (
productBuildType As LicenseBuildType,
validateDelegate As ValidateProductKeyDelegate
) As Boolean
- Type: Rhino.PlugInsLicenseBuildType
The product build contentType required by your plug-in.
- Type: Rhino.PlugInsValidateProductKeyDelegate
Since the Rhino licensing system knows nothing about your product license,
you will need to validate the product license provided by the Rhino
licensing system. This is done by supplying a callback function, or delegate,
that can be called to perform the validation.
true if a valid license was found. false otherwise.
Rhino for MacSupported in: 5.4