473,382 Members | 1,107 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

ManagementObjectSearcher doesn't in namespcae.

Hi All,

Got a problem when checking mac address:

System.Management.ManagementObjectSearcher msearch = new
ManagementObjectSearcher();

The complie error message is "ManagementObjectSearcher doesn't in
namespcae"
However, the using System.Management; is used, missing anything ?

Thanks.
Boki.
Aug 6 '08 #1
2 3093
missing anything ?

A reference to System.Management.dll, probably.

Marc
Aug 6 '08 #2
On Aug 6, 6:53*pm, Marc Gravell <marc.grav...@gmail.comwrote:
*missing anything ?

A reference to System.Management.dll, probably.

Marc
You are right, it's done.

thx.
Boki.
Aug 7 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: AnnMarie | last post by:
My JavaScript Form Validation doesn't work at all in Netscape, but it works fine in IE. I made some of the suggested changes which enabled it to work in IE. I couldn't make all the changes...
0
by: wh1974 | last post by:
Hi, I have a question regarding the use of the ManagementObjectSearcher object which I plan to use in an asp.net page to retrieve a list of users on a Win2K server. I have some code working...
149
by: Christopher Benson-Manica | last post by:
(Followups set to comp.std.c. Apologies if the crosspost is unwelcome.) strchr() is to strrchr() as strstr() is to strrstr(), but strrstr() isn't part of the standard. Why not? --...
2
by: Claire | last post by:
I'm using the following code in an attempt to obtain a list of available serial ports. I expected to retrieve the same values as listed in hardware manager in Control panel but I'm not. I'm being...
1
by: Shahin | last post by:
Greetings, I am calling ManagementObjectSearcher.Get but I get an error saying invalid name space. I noticed in the documentation it says Full trust for the immediate caller. How do I make...
16
by: Dany | last post by:
Our web service was working fine until we installed .net Framework 1.1 service pack 1. Uninstalling SP1 is not an option because our largest customer says service packs marked as "critical" by...
0
by: mafandon | last post by:
Hello all... My application uses custom reports from Microsoft's report viewer and not Crystal Reports. My understanding is there is no way to make the printdialog select a different printer...
39
by: alex | last post by:
I've converted a latin1 database I have to utf8. The process has been: # mysqldump -u root -p --default-character-set=latin1 -c --insert-ignore --skip-set-charset mydb mydb.sql # iconv -f...
38
by: tshad | last post by:
In VS 2008, why doesn't ToString require "()". If I have Option Strict On on why can I do both: selectedIndex.ToString() selectedIndex.ToString or sQuery =...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.