Simple DNS Plus v. 5.0 plug-in library (sdnsplugin.dll)

The standard Simple DNS Plus v. 5.0 installation includes the "sdnsplugin.dll" file in the main installation directory.
To create your own plug-in for Simple DNS Plus v. 5.0, you create a .NET 2.0 library (.dll file) with a public class that implements the IGetHostPlugIn interface (in sdnsplugin.dll) and optionally Windows Forms controls inheriting from OptionsUI and/or ViewUI (also in sdnsplugin.dll). Your library must then be placed in the "plugins" sub-directory of the directory where Simple DNS Plus is installed.

Simple DNS Plus v. 5.0 supports one type of plug-in - the "Get Host" plug-in type defined by IGetHostPlugIn.
Get Host Plug-Ins respond to basic DNS lookups for the IP address of a host name (A/AAAA records), the reverse (PTR records), as well as TXT-record lookups.
Future version of Simple DNS Plus may support other types of plug-ins.

Plug-ins can be created in any .NET 2.0 language (including VB.NET and C#) using any compatible development tool (including Visual Studio 2005 and 2008).

JHSoftware.SimpleDNS.Plugin.IGetHostPlugIn

This interface must be implemented by all Get Host plug-ins.

JHSoftware.SimpleDNS.Plugin.OptionsUI

If your plug-in has settings that are configurable by the user, you must create a GUI control inheriting from OptionsUI and return this from the IGetHostPlugIn.GetOptionsUI method. Your GUI control will then be hosted in the Plug-In Instance dialog / Plug-In Settings tab.

JHSoftware.SimpleDNS.Plugin.ViewUI

If your plug-in is to have a View (a tab in the Simple DNS Plus main window), your implementation of IGetHostPlugIn.HasViewUI must return True and you must create a GUI control inheriting from ViewUI and return this from the IGetHostPlugIn.GetViewUI method.

JHSoftware.SimpleDNS.Plugin.DomainName

The class is used by several methods in the IGetHostPlugIn interface.
It represents a domain name and provides several method for working with such.

 

For further details on each of these interfaces/classes and their members, see the following section.