algorithmic modeling for Rhino
You can create a class which inherits from GH_AssemblyPriority.
This class will be constructed and called before any other and it will allow you to suspend loading, for example if the user fails to validate.
--
David Rutten
david@mcneel.com
Hi David, thanks for the answer! Then, the class I create what should do?
I mean, How does that class verify and store the validation code?
Maybe this trascends GH and requires a better knowledge of C#?
This class can look up in a specific location on the user's drive for the license file (a simple .txt document might do). If the document exists and is valid, your assembly is loaded. otherwise is prompting for a license file.
No special or extremely complex coding needed.
Best,
M.
Thanks!
Could you please provide a small sample ?
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by