How to reference
- ASP.NET website (.NET Framework 2.0 or later)
Simply copy the "SDNSAPI.dll" file to the "Bin" directory of the ASP.NET web-site:
(If the "Bin" directory does not exist, just add an empty directory called "Bin")

Now you can use the API from any code in your web-site. For example:
Conn = JHSoftware.SimpleDNSPlus.Connection()
You can of course shorten the code by adding an "Imports JHSoftware.SimpleDNSPlus"
(VB.NET)
or "using JHSoftware.SimpleDNSPlus" (C#) statement at the top of your code files.
Or add it to the web.config file under <configuration><system.web><pages><namespaces>.
- C# or VB.NET application (Visual Studio 2005)
From the Visual Studio "Project" menu, select "Add Reference...":

Then select the "Browse" tab, go to the directory where you installed the API files,
select the "SDNSAPI.dll" file and click the "OK" button:

Now you can use the API from any code in your application. For example:
Conn = JHSoftware.SimpleDNSPlus.Connection()
You can of course shorten the code by adding an "Imports JHSoftware.SimpleDNSPlus"
(VB.NET)
or "using JHSoftware.SimpleDNSPlus" (C#) statement at the top of your code files.
- Visual Basic 6 application
From the Visual Basic "Project" menu, select "References...":

Then check "Simple DNS Plus API for COM" and click the "OK" button:

Now you can use the API from any code in your application. For example:
Set Conn = SDNSAPI.Connection
- VBScript / Classic ASP web-site
Use CreateObject("SDNSAPI.Connection") to create a Connection object.
(for ASP code, use Server.CreateObject)