LicenseData
Zoo plug-in license data.
Inheritance Hierarchy
System.Object
Rhino.PlugIns.LicenseData
Namespace: Rhino.PlugIns
Assembly: RhinoCommon (in RhinoCommon.dll)
Syntax
public class LicenseData
The LicenseData type exposes the following members.
Constructors
Name
Description
Public Method
LicenseData.
Public Constructor
.
Public Method
LicenseData(String, String, String)
Public ConstructorPublic Method
LicenseData(String, String, String, LicenseBuildType)
Public ConstructorPublic Method
LicenseData(String, String, String, LicenseBuildType, Int32)
Public ConstructorPublic Method
LicenseData(String, String, String, LicenseBuildType, Int32, Nullable.DateTime.)
Public ConstructorPublic Method
LicenseData(String, String, String, LicenseBuildType, Int32, Nullable.DateTime., Icon)
Public ConstructorPublic Method
LicenseData(String, String, String, LicenseBuildType, Int32, Nullable.DateTime., Icon, Boolean, Boolean)
Public ConstructorProperties
Name
Description
Public Property
BuildType
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.
Public Property
DateToExpire
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).
Public Property
ErrorMessage
Error message set by calls to callback functions
Public Property
IsUpgradeFromPreviousVersion
Set to true if this license requires a previous version license to be entered. Caller must also pass VerifyPreviousVersionLicenseDelegate to GetLicense/AskUserForLicense.
Public Property
LicenseCount
The number of instances supported by this license. This is provided by the plug in that validated the license.
Public Property
LicenseExpires
Public Property
LicenseTitle
The title of the license. This is provided by the plug-in that validated the license. (e.g. “Rhinoceros 6.0 Commercial”)
Public Property
ProductIcon
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.
Public Property
ProductLicense
The actual product license. This is provided by the plug-in that validated the license.
Public Property
RequiresOnlineValidation
Set to true if this license requires online validation. Caller must also pass VerifyOnlineValidationCodeDelegate to GetLicense/AskUserForLicense
Public Property
SerialNumber
The “for display only” product license. This is provided by the plug-in that validated the license.
Methods
Name
Description
Public Method
Dispose
Releases all resources used by the LicenseData
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected Method
Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public Method
Static Member
IsNotValid
Indicates whether a LicenseData object is either null or invalid.
Public Method
IsValid.
Public validator.
Public Method
IsValid(Boolean)
Public Method
Static Member
IsValid(LicenseData)
Indicates whether a LicenseData object is not null and valid.
Protected Method
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object.)