This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
developer:zoorhinocommonplugin [2020/11/25] sandy [Creating a Rhino .NET Plug-in using RhinoCommon] |
developer:zoorhinocommonplugin [2020/11/25] sandy [Managing your License] |
||
---|---|---|---|
Line 26: | Line 26: | ||
- Launch Rhino and use **PlugInManager** to install your plugin (to verify that it was correctly built). | - Launch Rhino and use **PlugInManager** to install your plugin (to verify that it was correctly built). | ||
- | ===== Adding Licensing Support to your Plug-in | + | ===== Adding Licensing Support to your Plugin |
- | After you have built and tested your basic plug-in, you can add licensing support as follows: | + | After you have built and tested your basic plugin, you can add licensing support as follows: |
- | - In your plug-in's **Rhino.PlugIns** inherited class, create a new method with the same signature as the **Rhino.PlugIns.ValidateProductKeyDelegate** delegate. Rhino will call into this function whenever it needs your plug-in | + | - In your plugin's **Rhino.Plugins** inherited class, create a new method with the same signature as the **Rhino.Plugins.ValidateProductKeyDelegate** delegate. Rhino will call into this function whenever it needs your plugin |
- | - In your plug-in's **OnLoad** member, call **Rhino.PlugIns.GetLicense** and pass it the build type of the license required by your product, and your delegate function. | + | - In your plugin's **OnLoad** member, call **Rhino.Plugins.GetLicense** and pass it the build type of the license required by your product and your delegate function. |
- | - Build your plug-in. | + | - Build your plugin. |
- | - [[developer: | + | - Digitally sign your plugin. |
- | - Launch Rhino and test your plug-in. When your plug-in is loaded | + | - Launch Rhino and test your plugin. When you load your plugin |
{{: | {{: | ||
===== Managing your License ===== | ===== Managing your License ===== | ||
- | Rhino plug-ins | + | Rhino plugins |
{{: | {{: |