I\'m trying to write some WMI in my windows form and the ManagementObject is givin me the
\"The type or namespace name \'ManagementObject\' could not be found\" Err
You need to add a reference to System.Management.dll to your project.
You can see System.Management.Instrumentation without adding a reference to System.Management.dll because it is included in a different library (System.Core.dll, which is included as a reference automatically), but you cannot access the other types contained by that namespace without explicitly adding a reference to the System.Management.dll library.