Creating LAN Zoo Plugins
This guide discusses how to create plugins for the LAN Zoo.
The LAN Zoo allows third party plugin developers add licensing support for their products.
When a customer attempts to add a product license to the LAN Zoo, the product’s plugin is called to validate the user’s request. Upon validation, the plugin will return the product’s licensing information back to the Zoo. In turn, the LAN Zoo will serialize, maintain, and distribute this license.
LAN Zoo plugins are .NET Framework 4.8 assemblies. To create a plugins for the LAN Zoo, you need one of the following development tools:
- Microsoft Visual C#.
- Microsoft Visual Basic .NET.
Writing a LAN Zoo Plugin
The general steps required to create a Zoo plugin are:
- Make sure you have the LAN Zoo installed.
- Launch Microsoft Visual Studio.
- Create a new Class Library project using either Visual C# or Visual Basic .NET.
- Add a reference to ZooPlugin.dll, which is found in the LAN Zoo installation folder. Make sure to set the reference’s Copy Local property to
- Create a new public class that inherits from the
- Implement the interface members. (For detailed information about the interface members, see the sample LAN Zoo plugin listed below.)
- Build your plugin.
- Digitally sign your plugin.
Installing a LAN Zoo Plugin
Once you have built your LAN Zoo plugin, you can install it and test it:
- Run ZooAdmin.Wpf.exe and make sure the LAN Zoo licensing service has stopped.
- Copy your plugin assembly (.dll) and any dependent support libraries to the lan Zoo’s plugin folder (i.e. C:\Program Files\Zoo 7\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.