Solved

c# DHCP Server scope

Posted on 2007-03-28
1
816 Views
Last Modified: 2012-06-27
Im using c# and would like to check when a DHCP scope on a server reaches 90% full, Ive looked into doing this using WMI and it doesnt seem possible.  Are there any other ways of doing this?  I would really like c# examples of how to do this.  Cheers.
0
Comment
Question by:AlistairDyer
1 Comment
 
LVL 41

Accepted Solution

by:
graye earned 500 total points
ID: 18807739
No, I don't think there is a WMI provider for the DHCP service.

So, that means you are stuck with the DHCP API (which was designed for C/C++).  Doing a quick Google search, I could only find a few examples of a managed application using this API, so it looks like you're charting mostly unknown territory... sorry

http://www.google.com/search?hl=en&q=DHCP+API+c%23
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question