dhcpobjs

Programatically Create DHCP Reservation in C#

I have been assigned the task of creating an application that takes in a MAC address and creates a DHCP reservation for that MAC address. Is there any API built into .NET to easily accomplish this? Thanks, Matt ...

Querying a DHCP server in C#

I need to get the mapping of MAC to IP stored on DHCP server, either through a program running on the server itself or preferably through a program running on one of the DHCP clients. I understand netsh utility can be used to get the dump however i have not had much success with that. Any working examples or hint on that? I have admin...

C# DHCP Access Error

I'm using dhcpobj.dll to interface with our DHCP servers and when I try to reference any Scope property other than "Address", I get a Windows dialog box stating there was a COM Surrogate error, followed by a COMException in my code stating that "The remote procedure call failed. (Exception from HRESULT: 0x800706BE). Has anyone come acro...