Constructors
LicenseData
#public LicenseData(string productLicense, string serialNumber, string licenseTitle, LicenseBuildType buildType, int licenseCount, DateTime? expirationDate, Icon productIcon, bool requiresOnlineValidation, bool isUpgradeFromPreviousVersion)
Public constructor
Parameters:
| productLicense (string) | License string to be saved by ZooClient |
| serialNumber (string) | Serial number to be displayed to end user |
| licenseTitle (string) | Title of license (Rhino 6.0 Evaluation) |
| buildType (LicenseBuildType) | A LicenseBuildType value |
| licenseCount (int) | Number of licenses represented by this string. Allows the Zoo to hand out multiple license keys when greater than 1. |
| expirationDate (DateTime?) | Date when license expires, null if license never expires. |
| productIcon (Icon) | Icon to display in Rhino License Options user interface when showing this license |
| requiresOnlineValidation (bool) | True if online validation server should be called with this license key; false otherwise. If true, caller must pass implementation of VerifyOnlineValidationCodeDelegate to GetLicense/AskUserForLicense |
| isUpgradeFromPreviousVersion (bool) | True if this license key requires a previous version license; false otherwise. If true, caller must pass implementation of VerifyPreviousVersionLicenseDelegate to GetLicense/AskUserForLicense |
LicenseData
#public LicenseData(string productLicense, string serialNumber, string licenseTitle, LicenseBuildType buildType, int licenseCount, DateTime? expirationDate, Icon productIcon)
Public constructor
Parameters:
| productLicense (string) | License string to be saved by ZooClient |
| serialNumber (string) | Serial number to be displayed to end user |
| licenseTitle (string) | Title of license (Rhino 6.0 Evaluation) |
| buildType (LicenseBuildType) | A LicenseBuildType value |
| licenseCount (int) | Number of licenses represented by this string. Allows the Zoo to hand out multiple license keys when greater than 1. |
| expirationDate (DateTime?) | Date when license expires, null if license never expires. |
| productIcon (Icon) | Icon to display in Rhino License Options user interface when showing this license |
LicenseData
#public LicenseData(string productLicense, string serialNumber, string licenseTitle, LicenseBuildType buildType, int licenseCount, DateTime? expirationDate)
Public constructor
Parameters:
| productLicense (string) | License string to be saved by ZooClient |
| serialNumber (string) | Serial number to be displayed to end user |
| licenseTitle (string) | Title of license (Rhino 6.0 Evaluation) |
| buildType (LicenseBuildType) | A LicenseBuildType value |
| licenseCount (int) | Number of licenses represented by this string. Allows the Zoo to hand out multiple license keys when greater than 1. |
| expirationDate (DateTime?) | Date when license expires, null if license never expires. |
public LicenseData(string productLicense, string serialNumber, string licenseTitle, LicenseBuildType buildType, int licenseCount)
Public constructor
Parameters:
| productLicense (string) | License string to be saved by ZooClient |
| serialNumber (string) | Serial number to be displayed to end user |
| licenseTitle (string) | Title of license (Rhino 6.0 Evaluation) |
| buildType (LicenseBuildType) | A LicenseBuildType value |
| licenseCount (int) | Number of licenses represented by this string. Allows the Zoo to hand out multiple license keys when greater than 1. |
public LicenseData(string productLicense, string serialNumber, string licenseTitle, LicenseBuildType buildType)
Public constructor
Parameters:
| productLicense (string) | License string to be saved by ZooClient |
| serialNumber (string) | Serial number to be displayed to end user |
| licenseTitle (string) | Title of license (Rhino 6.0 Evaluation) |
| buildType (LicenseBuildType) | A LicenseBuildType value |
Public constructor
Properties
The build of the product that this license work with. When your product requests a license from the Zoo, it will specify one of these build types.
The date and time the license is set to expire. This is provided by the plug in that validated the license. This time value should be in Coordinated Universal Time (UTC).
Error message set by calls to callback functions
Set to true if this license requires a previous version license to be entered. Caller must also pass VerifyPreviousVersionLicenseDelegate to GetLicense/AskUserForLicense.
The number of instances supported by this license. This is provided by the plug in that validated the license.
The title of the license. This is provided by the plug-in that validated the license. (e.g. "Rhinoceros 6.0 Commercial")
The product's icon. This will displayed in the "license" page in the Options dialog. Note, this can be null. Note, LicenseData creates it's own copy of the icon.
The actual product license. This is provided by the plug-in that validated the license.
Set to true if this license requires online validation. Caller must also pass VerifyOnlineValidationCodeDelegate to GetLicense/AskUserForLicense
Methods
public void Dispose()
Indicates whether a LicenseData object is either null or invalid.
Parameters:
| data (LicenseData) |
Parameters:
| ignoreExpirationDate (bool) |
Indicates whether a LicenseData object is not null and valid.
Parameters:
| data (LicenseData) |