Creating LAN Zoo Plugins
Windows only

## Overview

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.

## Prerequisites

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:

1. Microsoft Visual C#.
2. Microsoft Visual Basic .NET.

Also, all plugins that use the LAN 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. For more information on plugin signing, see Digitally Signing Plugins for LAN Zoo.

## Writing a LAN Zoo Plugin

The general steps required to create a Zoo plugin are:

1. Make sure you have the LAN Zoo installed.
2. Launch Microsoft Visual Studio.
3. Create a new Class Library project using either Visual C# or Visual Basic .NET.
4. 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 False.
5. Create a new public class that inherits from the IZooPlugin3 interface.
6. Implement the interface members. (For detailed information about the interface members, see the sample LAN Zoo plugin listed below.)