I've take this from:
ms-help://MS.NETFramework SDKv1.1/cptools/html/cpgrfmanagement stronglytypedcl
assgeneratormgm tclassgenexe.ht m
using System;
using System.Manageme nt;
using ROOT.CIMV2.Win3 2;
public class App
{
public static void Main()
{
// Enumerate instances of the Win32_process.
// Print the Name property of the instance.
foreach(Process ps in Process.GetInst ances())
{
Console.WriteLi ne(ps.Name);
}
// Initialize the instance of LogicalDisk with
// the WMI instance pointing to logical drive d:.
LogicalDisk dskD = new LogicalDisk(new ManagementPath(
"win32_LogicalD isk.DeviceId=\" d:\""));
Console.WriteLi ne(dskD.Caption );
}
}
Now, for use LogicalDisk or other like classes I must using ROOT.CIMV2 ...
Or no?
Thanks in advance
"SnakeS" <Sn***********@ hotmail.com> wrote in message
news:8g******** **********@torn ado.fastwebnet. it...
When I do:
using ROOT.CIMV2.Win3 2;
the class there isn't.
This namespace or class I didn't find it.
How i using this classes?