DHCP info in C#

  • Thread starter Thread starter Admin
  • Start date Start date
A

Admin

I am looking at automating some of the DHCP functions we regularly perform
and came accross the DHCP management APIs in my installed copy of MSDN.
These seem to be just what I need,

The only problem is that the descriptions are limited to C++ examples and I
am only familiar with C##. Is there a wrapper I could use, or better yet,
is here a description of how to call native Windows API from C#?

TIA

Bob
 
Admin said:
I am looking at automating some of the DHCP functions we regularly perform
and came accross the DHCP management APIs in my installed copy of MSDN.
These seem to be just what I need,

The only problem is that the descriptions are limited to C++ examples and I
am only familiar with C##. Is there a wrapper I could use, or better yet,
is here a description of how to call native Windows API from C#?

Have you looked up the invocations on http://www.pinvoke.net/ ?

-- Barry
 
As an alternative you might be able to do it via a WMI query and managed
code. Good luck either way :-)

-Alex
 
Back
Top