Query DHCP using C# .NET

As part of our ongoing commitment to centralise technical documentation we have created a managed C# .NET API wrapper for the Microsoft DHCP management API (DHCPM).

This includes a simple user interface to view the configuration data on a local or remote machine

For more information please see the following page
http://www.centrel-solutions.com/support/tools.aspx?feature=dhcpapi

For more information on XIA Configuration and how it can help document your network infrastructure please see
http://www.centrel-solutions.com/XIAConfiguration/



Using a managed API over the Resource Kit tool dhcpobjs (dhcpojbs.dll) has several advantages including

  • Support for 32bit and 64bit
  • Support for IPv6
  • The ability to document new Windows 2008 and above features including NAP configuration


The API is currently able to view the following information

  • IPv4 and IPv6 Server information
  • Reservations
  • Leases (currently IPv4 only)
  • Scope Ranges
  • Scope options
  • Exclusions
  • Server defaults
  • Server options
  • Vendor and class definitions

Comments

Popular posts from this blog

Windows Server 2016, 2019, 2022, Windows 10 and Windows 11: Date and time "Some settings are managed by your organization".

TFTPD32 or TFTPD64 reports Bind error 10013 An attempt was made to access a socket in a way forbidden by its access permissions.

Windows Server 2019 desktop icons such as My Computer, Windows cannot access the specified device, path, or file.