LicenseUtils

public static class LicenseUtils
License Manager Utilities.

Methods

AskUserForLicense

#Since v6.0
This version of Rhino.PlugIns.LicenseUtils.AskUserForLicense is used by Rhino C++ plug-ins.
public static bool AskUserForLicense(
productType,
standAlone,
parentWindow,
textMask,
validateProductKeyDelegate,
onLeaseChangedDelegate,
product_path,
product_title,
pluginId,
licenseId,
capabilities
)

AskUserForLicense

#Since v6.0
public static bool AskUserForLicense(
productType,
standAlone,
parentWindow,
textMask,
validateProductKeyDelegate,
onLeaseChangedDelegate,
verifyLicenseKeyDelegate,
verifyPreviousVersionLicenseKeyDelegate,
product_path,
product_title,
pluginId,
licenseId,
capabilities
)

CheckInLicense

#Since v5.0
Checks in a previously checked out license to the Zoo server from which it was checked out.
public static bool CheckInLicense(
productId
The Guid of the product that you want to check in.
)
true if the license was checked in successful. false if not successful or on error.

CheckOutLicense

#Since v5.0
Checks out a license that is on loan from a Zoo server on a permanent basis.
public static bool CheckOutLicense(
productId
The Guid of the product that you want to check out.
)
true if the license was checked out successful. false if not successful or on error.

ConvertLicense

#Since v5.0
Converts a product license from a standalone node to a network node.
public static bool ConvertLicense(
productId
The Guid of the product that you want to check in.
)
true if the license was successfully converted. false if not successful or on error.

DeleteLicense

#Since v6.0
Deletes a license along with its license file.
public static bool DeleteLicense(
productId
)

Echo

#Since v5.0
Test connectivity with the Zoo.
public static string Echo(
message
)

GetLicense

#Since v6.0
This version of Rhino.PlugIns.LicenseUtils.GetLicense is used by Rhino C++ plug-ins.
public static bool GetLicense(
validateProductKeyDelegate,
leaseChangedDelegate,
product_type,
capabilities,
textMask,
product_path,
product_title,
pluginId,
licenseId
)

GetLicense

#Since v6.0
public static bool GetLicense(
validateProductKeyDelegate,
leaseChangedDelegate,
verifyLicenseKeyDelegate,
verifyPreviousVersionLicenseKeyDelegate,
product_type,
capabilities,
textMask,
product_path,
product_title,
pluginId,
licenseId
)

GetLicenseCapabilities

#Since v5.5
Converts an integer to a LicenseCapabilities flag
public static LicenseCapabilities GetLicenseCapabilities(
filter
)

GetLicenseStatus

#Since v5.0
Returns the current status of every license for UI purposes.
public static LicenseStatus[] GetLicenseStatus()

GetLicenseType

#Since v5.0
Returns the contentType of a specified product license
public static int GetLicenseType(
productId
)

GetOneLicenseStatus

#Since v5.5
Returns the current status of a license for UI purposes.
public static LicenseStatus GetOneLicenseStatus(
productid
)

Initialize

#Since v5.0
Initializes the license manager.
public static bool Initialize()

IsCheckOutEnabled

#Since v5.0
Returns whether or not license checkout is enabled.
public static bool IsCheckOutEnabled()

LicenseOptionsHandler

#Since v6.0
public static bool LicenseOptionsHandler(
pluginId,
licenseId,
productTitle,
standAlone
)

LoginToCloudZoo

#Since v6.0
public static bool LoginToCloudZoo()

LogoutOfCloudZoo

#Since v6.0
public static bool LogoutOfCloudZoo()

ReturnLicense

#Since v5.0
OBSOLETE - REMOVE WHEN POSSIBLE.
public static bool ReturnLicense(
productId
)

ShowBuyLicenseUi

#Since v5.5
public static void ShowBuyLicenseUi(
productId
)

ShowLicenseValidationUi

#Since v5.0
ShowLicenseValidationUi
public static bool ShowLicenseValidationUi(
cdkey
)

ShowRhinoExpiredMessage

#Since v6.0
Show Rhino or Beta expired message
public static bool ShowRhinoExpiredMessage(
mode,
ref int
result
)