It would have to expose some sort of API or interface for you to hook into.
Have you checked the RFC for DHCP to see if there are calls or commands that
can be sent directly to the server? I know that I have never had a need for
this and as a result, I haven't looked into it.
Here is a link to the RFC.
http://www.ietf.org/rfc/rfc2131.txt
--
Gerry O'Brien
Visual Developer .NET MVP
Visual Basic
"andrew_webby at hotmail" <an**********@hotmail.com> wrote in message
news:f4*************************@posting.google.co m...
Hi
Anyone know a way I can (via .NET) query my dhcp server and enumerate
all the scopes defined within?
Been looking to no avail - it would appear a couple of guys asked this
very question fairly recently and received no response. I hope this
doesn't mean it's impossible !
I have the DHCP mmc snap-in - been through the .net framework
documentation looking for some way to leverage that to no avail.
TIA
AW :)