Methods
public static bool AskUserForLicense(int productType, bool standAlone, object parentWindow, string textMask, ValidateProductKeyDelegate validateProductKeyDelegate, OnLeaseChangedDelegate onLeaseChangedDelegate, string product_path, string product_title, Guid pluginId, Guid licenseId, LicenseCapabilities capabilities)
This version of Rhino.PlugIns.LicenseUtils.AskUserForLicense is used by Rhino C++ plug-ins.
Parameters:
| productType (int) | |
| standAlone (bool) | |
| parentWindow (object) | |
| textMask (string) | |
| validateProductKeyDelegate (ValidateProductKeyDelegate) | |
| onLeaseChangedDelegate (OnLeaseChangedDelegate) | |
| product_path (string) | |
| product_title (string) | |
| pluginId (Guid) | |
| licenseId (Guid) | |
| capabilities (LicenseCapabilities) |
public static bool AskUserForLicense(int productType, bool standAlone, object parentWindow, string textMask, ValidateProductKeyDelegate validateProductKeyDelegate, OnLeaseChangedDelegate onLeaseChangedDelegate, VerifyLicenseKeyDelegate verifyLicenseKeyDelegate, VerifyPreviousVersionLicenseDelegate verifyPreviousVersionLicenseKeyDelegate, string product_path, string product_title, Guid pluginId, Guid licenseId, LicenseCapabilities capabilities)
Parameters:
| productType (int) | |
| standAlone (bool) | |
| parentWindow (object) | |
| textMask (string) | |
| validateProductKeyDelegate (ValidateProductKeyDelegate) | |
| onLeaseChangedDelegate (OnLeaseChangedDelegate) | |
| verifyLicenseKeyDelegate (VerifyLicenseKeyDelegate) | |
| verifyPreviousVersionLicenseKeyDelegate (VerifyPreviousVersionLicenseDelegate) | |
| product_path (string) | |
| product_title (string) | |
| pluginId (Guid) | |
| licenseId (Guid) | |
| capabilities (LicenseCapabilities) |
Checks in a previously checked out license to the Zoo server from which it was checked out.
Parameters:
| productId (Guid) | The Guid of the product that you want to check in. |
Returns: true if the license was checked in successful. false if not successful or on error.
Checks out a license that is on loan from a Zoo server on a permanent basis.
Parameters:
| productId (Guid) | The Guid of the product that you want to check out. |
Returns: true if the license was checked out successful. false if not successful or on error.
Converts a product license from a standalone node to a network node.
Parameters:
| productId (Guid) | The Guid of the product that you want to check in. |
Returns: true if the license was successfully converted. false if not successful or on error.
Deletes a license along with its license file.
Parameters:
| productId (Guid) |
Test connectivity with the Zoo.
Parameters:
| message (string) |
public static bool GetLicense(ValidateProductKeyDelegate validateProductKeyDelegate, OnLeaseChangedDelegate leaseChangedDelegate, int product_type, int capabilities, string textMask, string product_path, string product_title, Guid pluginId, Guid licenseId)
This version of Rhino.PlugIns.LicenseUtils.GetLicense is used by Rhino C++ plug-ins.
Parameters:
| validateProductKeyDelegate (ValidateProductKeyDelegate) | |
| leaseChangedDelegate (OnLeaseChangedDelegate) | |
| product_type (int) | |
| capabilities (int) | |
| textMask (string) | |
| product_path (string) | |
| product_title (string) | |
| pluginId (Guid) | |
| licenseId (Guid) |
public static bool GetLicense(ValidateProductKeyDelegate validateProductKeyDelegate, OnLeaseChangedDelegate leaseChangedDelegate, VerifyLicenseKeyDelegate verifyLicenseKeyDelegate, VerifyPreviousVersionLicenseDelegate verifyPreviousVersionLicenseKeyDelegate, int product_type, int capabilities, string textMask, string product_path, string product_title, Guid pluginId, Guid licenseId)
Parameters:
| validateProductKeyDelegate (ValidateProductKeyDelegate) | |
| leaseChangedDelegate (OnLeaseChangedDelegate) | |
| verifyLicenseKeyDelegate (VerifyLicenseKeyDelegate) | |
| verifyPreviousVersionLicenseKeyDelegate (VerifyPreviousVersionLicenseDelegate) | |
| product_type (int) | |
| capabilities (int) | |
| textMask (string) | |
| product_path (string) | |
| product_title (string) | |
| pluginId (Guid) | |
| licenseId (Guid) |
Converts an integer to a LicenseCapabilities flag
Parameters:
| filter (int) |
Returns the current status of every license for UI purposes.
Returns the contentType of a specified product license
Parameters:
| productId (Guid) |
Returns the current status of a license for UI purposes.
Parameters:
| productid (Guid) |
Returns whether or not license checkout is enabled.
OBSOLETE - REMOVE WHEN POSSIBLE.
Parameters:
| productId (Guid) |
Parameters:
| productId (Guid) |
ShowLicenseValidationUi
Parameters:
| cdkey (string) |