Solved

Win32_NetworkAdapterConfiguration Constant

Posted on 2009-04-07
1
627 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Suggested Solutions

Title # Comments Views Activity
updating order of the rows, N+1 query issue, C#, asp.net, MVC, SQL Server 3 34
Problem!!! 8 37
Expression Evaluater 3 38
Where does legacy ASP.NET initialize language? 2 24
Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

860 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