[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

msnews.microsoft.com

7/28/2008 4:28:00 AM

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


3 Answers

Barry Kelly

7/28/2008 4:32:00 PM

0

Admin wrote:

> 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.pi... ?

-- Barry

--
http://barrkel.blo...

msnews.microsoft.com

7/28/2008 10:42:00 PM

0

Thanks Barry :-)

That looks like a great resource for what I am trying to do

Cheers

"Barry Kelly" <barry.j.kelly@gmail.com> wrote in message
news:t1tr84tjcrbqiihdo7ch50l1el5vg4rj72@4ax.com...
> Admin wrote:
>
>> 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.pi... ?
>
> -- Barry
>
> --
> http://barrkel.blo...


Alex Clark

7/28/2008 11:53:00 PM

0

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

-Alex



"Admin" <someone@microsoft.com> wrote in message
news:OVxmoMQ8IHA.5596@TK2MSFTNGP02.phx.gbl...
> Thanks Barry :-)
>
> That looks like a great resource for what I am trying to do
>
> Cheers
>
> "Barry Kelly" <barry.j.kelly@gmail.com> wrote in message
> news:t1tr84tjcrbqiihdo7ch50l1el5vg4rj72@4ax.com...
>> Admin wrote:
>>
>>> 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.pi... ?
>>
>> -- Barry
>>
>> --
>> http://barrkel.blo...
>
>