473,657 Members | 2,535 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

which is the reference for root.cimv2 namespace?

Please, if someone knows which reference I must Add to use the namespace
ROOT.CIMV2, please tell me.

Thank you
Nov 15 '05 #1
1 2245
Pablo,

The ROOT.CIMV2 namespace is not a .NET namespace, but rather a namespace
for WMI. This is a model that is abstracted through the classes in the
System.Manageme nt namespace. Once you set a reference to
System.Manageme nt.dll, you can access the classes in the System.Manageme nt
namespace, which will give you generic access to the WMI classes.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Pablo Garcia" <10*******@alum nos.uc3m.es> wrote in message
news:ek******** ******@TK2MSFTN GP10.phx.gbl...
Please, if someone knows which reference I must Add to use the namespace
ROOT.CIMV2, please tell me.

Thank you

Nov 15 '05 #2

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

Similar topics

2
2808
by: Pablo Garcia | last post by:
I am working with Windows Management Instrumentation (WMI). I must use the namespace ROOT.CIMV2, I have written "using ROOT.CIMV2.Win32" on the top of the file, but a compilation error happened because I hadn't Add the Reference where that namespace is. If someone knows which is the Reference I must Add to the project, tell me, please. Thank you very much.
4
5253
by: SnakeS | last post by:
When I do: using ROOT.CIMV2.Win32; the class there isn't. This namespace or class I didn't find it. How i using this classes?
3
1812
by: CCJohn | last post by:
Hi, I find that while I can use the "Namespace...End Namespace" inside my code, there is also a "Root namespace" field in the project properties dialog box under General. So where should I put my REAL root namespace, or should I leave it blank, or should I create any at all? Please advice. Thanks in advance. CCJohn
2
1519
by: Jessica Sterner via .NET 247 | last post by:
I keep getting the error message: An unhandled exception of type 'System.NullReferenceException' occurred in Final2.exe Additional information: Object reference not set to an instance of an object. I am new to programming and am not sure what is wrong. I feel like I have tried everything. Any advice would be appreciated. Thanks. This is the code in the class library: Option Strict On Option Explicit On
5
1656
by: Derek Martin | last post by:
I am creating a windows service and have added a reference to a DLL project that I have created. That DLL file is correctly referenced in both a windows app and a web app, all in the same solution, so I thought I could do the same for a service project. However, after successfully adding the reference and making sure the namespaces were correct, I cannot see any of my public methods and functions from the DLL file. Is there anything...
2
2615
by: msnews.microsoft.com | last post by:
I am currently trying to follow the Que Publishing exam guide to the Microsoft Exam 70-320. I followed the guide to a tee, but when I try to add a web reference to my server side soap extension it gives me the following error:- An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message:...
6
78374
by: active | last post by:
This works with Strict Off But not with Strict On Sometimes I can figure out what is needed by running it and using QuickWatch to see the type required but GetObject("winmgmts:\\" & StrComputer & "\root\cimv2") returns a value System._ComObject of Type Object
4
2656
by: =?Utf-8?B?TWFyaw==?= | last post by:
Hi... We have some code written in C# that's trying to manage a farm of servers. It's using the WMI classes to look at the remote machine for certain installed packages, and occasionally it blows up but I can't figure out why. The code is ManagementScope scope = new ManagementScope(string.Format(@"\\{0}\root\cimv2", serverName)); scope.Connect();
0
8310
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8827
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8503
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8605
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7333
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6167
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4158
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4315
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1620
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.