This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
developer:zooplugin [2020/11/30] sandy [Zoo plug-in samples] |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Creating Plugins for Zoo ====== | ||
- | > **Developer: | ||
- | > **Summary: | ||
- | |||
- | Zoo 5 lets third-party plugin developers add licensing support for their products to the Zoo. | ||
- | |||
- | When a customer attempts to add a product license to the Zoo, its plugin is called to validate the user's request. Upon validation, the plugin will return the product' | ||
- | |||
- | ===== Requirements ===== | ||
- | Zoo plugins are .NET Framework 4.0 assemblies. To create a plugin for Zoo 5, you need one of the following development tools: | ||
- | |||
- | - Microsoft Visual C# 2010. | ||
- | - Microsoft Visual Basic .NET 2010. | ||
- | |||
- | All plug-ins that use the Zoo license system must be signed with an Authenticode certificate issued by McNeel Plugin Security. These certificates are free but must be requested by each developer. Developers must agree to the //Terms of Use// before a certificate is issued. | ||
- | |||
- | ===== Writing a Zoo plugin ===== | ||
- | The general steps required to create a Zoo plugin are: | ||
- | |||
- | - Make sure you have **[[http:// | ||
- | - Launch Microsoft Visual Studio 2010. | ||
- | - Create a new Class Library project using either Visual C# or Visual Basic .NET. | ||
- | - Add a reference to **ZooPlugin.dll**, | ||
- | - Create a new public class that inherits from the **IZooPlugin** interface. | ||
- | - Implement the interface members. //(For detailed information about the interface members, see the sample Zoo plugins listed below.)// | ||
- | - Build your plugin. | ||
- | - Digitally sign your plugin. | ||
- | |||
- | ===== Installing a Zoo plugin ===== | ||
- | Once you have built your Zoo plugin, you can install it and test it: | ||
- | - Run **ZooAdmin.exe** and make sure the Zoo licensing service has stopped. | ||
- | - Copy your plugin assembly (.DLL) and any dependent support libraries to the Zoo's plugin folder (i.e. C:\Program Files\Zoo 5.0\Plugins). | ||
- | - Restart the Zoo license service. | ||
- | - When the service has restarted, click the **Add License** button. Your product should be one of the available products for which to add a license. | ||
- | |||
- | {{: | ||
- | |||
- | ===== Zoo plugin samples ===== | ||
- | [[https:// | ||
- | |||
- | \\ | ||
- | |||
- | {{tag> | ||