Questions tagged [dhcpobjs]

4 questions
8
votes
3 answers

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…
Kazoom
  • 5,659
  • 16
  • 56
  • 69
3
votes
1 answer

Programmatically 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?
Matt
  • 619
  • 5
  • 12
2
votes
0 answers

Change option DHCP/BOOTP in dhcp reservation

I'm using C# (Visual Studio 2010) to programmatically create a DHCP reservation. I've used the information in this post to get the DHCPOBJECTS.DLL. Connecting to the DHCP server works well. I'm also able to create a new reservation or enumerate…
Martin
  • 183
  • 2
  • 11
0
votes
2 answers

How to change IP address using perl (something like ipconfig release/renew)

I am beginner to Perl and I have to write a script which could change the IP address after every 1 hour. I want to change it because I receive some data from a dongle from a website and that website has some time limit to receive that data, so…
user3085082
  • 133
  • 4
  • 16