Click or drag to resize

LicenseData Constructor (String, String, String, LicenseBuildType, Int32, NullableDateTime, Icon, Boolean, Boolean)

Public constructor

Namespace:  Rhino.PlugIns
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public LicenseData(
	string productLicense,
	string serialNumber,
	string licenseTitle,
	LicenseBuildType buildType,
	int licenseCount,
	DateTime? expirationDate,
	Icon productIcon,
	bool requiresOnlineValidation,
	bool isUpgradeFromPreviousVersion
)

Parameters

productLicense
Type: SystemString
License string to be saved by ZooClient
serialNumber
Type: SystemString
Serial number to be displayed to end user
licenseTitle
Type: SystemString
Title of license (Rhino 6.0 Evaluation)
buildType
Type: Rhino.PlugInsLicenseBuildType
A LicenseBuildType value
licenseCount
Type: SystemInt32
Number of licenses represented by this string. Allows the Zoo to hand out multiple license keys when greater than 1.
expirationDate
Type: SystemNullableDateTime
Date when license expires, null if license never expires.
productIcon
Type: System.DrawingIcon
Icon to display in Rhino License Options user interface when showing this license
requiresOnlineValidation
Type: SystemBoolean
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
Type: SystemBoolean
True if this license key requires a previous version license; false otherwise. If true, caller must pass implementation of VerifyPreviousVersionLicenseDelegate to GetLicense/AskUserForLicense
See Also