Skip to content

Commit

Permalink
License plug-in updates
Browse files Browse the repository at this point in the history
  • Loading branch information
dalefugier committed Dec 13, 2024
1 parent 39c9ecf commit 2d1b478
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public class SampleCsWithLicenseCommand : Command

protected override Result RunCommand(RhinoDoc doc, RunMode mode)
{
RhinoApp.WriteLine($"{0} plug-in loaded.", SampleCsWithLicensePlugIn.Instance.Name);
RhinoApp.WriteLine("{0} plug-in loaded.", SampleCsWithLicensePlugIn.Instance.Name);
return Result.Success;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ private static System.Drawing.Icon ProductIcon
// "Close" button will always be displayed.
/// </summary>
private static LicenseCapabilities Capabilities => LicenseCapabilities.SupportsRhinoAccounts |
LicenseCapabilities.SupportsLicenseDiscovery;
LicenseCapabilities.SupportsStandalone |
LicenseCapabilities.SupportsZooPerUser;

#endregion

Expand Down Expand Up @@ -151,6 +152,8 @@ private static ValidateResult OnValidateProductKey(string licenseKey, out Licens
licenseData.DateToExpire = expire;
}

var rc = licenseData.IsValid();

return ValidateResult.Success;
}

Expand Down

0 comments on commit 2d1b478

Please sign in to comment.