Solved

Win32_NetworkAdapterConfiguration Constant

Posted on 2009-04-07
1
625 Views
Last Modified: 2012-05-06
Is there a constant which translates to: Win32_NetworkAdapterConfiguration

In the below link it explains how to get an IP using ManagementClass objMC = new ManagementClass("Win32_NetworkAdapterConfiguration"); But is there a constant which can be used instead of Win32_NetworkAdapterConfiguration.

http://www.codeguru.com/csharp/csharp/cs_network/internetweb/article.php/c6023/

Thanks
0
Comment
Question by:fred2k3
1 Comment
 
LVL 96

Accepted Solution

by:
Bob Learned earned 500 total points
ID: 24099408
No, there are no constants defined for that string, or any other WMI class for that matter...
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Problem with SqlConnection 4 160
Problem of RegEx to match the first occurence of 10 36
C# HTTP GET method sample code 3 41
Turn on intranet settings 1 40
We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

896 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now