LicenseData Constructor (String, String, String, LicenseBuildType, Int32, Nullable(DateTime), Icon, Boolean, Boolean)

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,
	Nullable<DateTime> expirationDate,
	Icon productIcon,
	bool requiresOnlineValidation,
	bool isUpgradeFromPreviousVersion
)
Public Sub New ( 
	productLicense As String,
	serialNumber As String,
	licenseTitle As String,
	buildType As LicenseBuildType,
	licenseCount As Integer,
	expirationDate As Nullable(Of DateTime),
	productIcon As Icon,
	requiresOnlineValidation As Boolean,
	isUpgradeFromPreviousVersion As Boolean
)

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
Version Information

Rhino for Windows

Supported in: 6.14
See Also