DHCP info in C#

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
 
B

Barry Kelly

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
 
A

Alex Clark

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

-Alex
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top