hi how can i send a dhcp request/discovery packet using c# to locate dhcp server any idea or snippet
+1
A:
See the P/Invoke.net - dhcpsapi in windows. There are also docs about the DHCP APIs on windows here.
Preet Sangha
2010-10-21 11:42:30
This looks like it only works with client side info or windows DHCP servers.
Matthew Whited
2010-10-21 11:48:35
dhcp api dose not work if i am not part of active directory
Ehtsham
2010-10-21 12:05:30
basically i want to discover the dhcp server on lan in c#
Ehtsham
2010-10-21 12:08:49