C# DHCP Server Management API

The CENTREL Solutions management API is a free wrapper for the native DHCP-M management API allowing you read-only access to view DHCP information on a local or remote server from .NET code.
 
The software includes a construct application to demonstrate the functionality of the tools.
 
This includes the ability to view
 
  • IPv4 and IPv6 Server information
  • Reservations
  • Leases (currently IPv4 only)
  • Scope Ranges
  • Exclusions
  • Server defaults
  • Server options
  • Vendor and class definitions
 
 

Using the API

Add a reference to the CENTREL.XIA.Network.Management.DHCP.dll file and use the following to connect to a DHCP server by name 

 

using CENTREL.XIA.Network.Management.DHCP;

try
{
    DHCPServerManagement DHCP = new DHCPServerManagement ( "DEMO-DHCP-01" );
    String AuditLogDirectory = DHCP.ServerConfiguration.AuditLogDirectory;
}
catch ( DHCPManagementException ex) { HandleError(ex); }

 

Future Development

The API will continue in development as it is core to the capabilities of XIA Configuration Server. The ability to modify the configuration of a DHCP server may be added in future releases. If this is something you are interested in please email requests@centrel-solutions.com

 
 

API Screenshot

 

 

Download


THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

To download the API send an email to tools@centrel-solutions.com