ManagementObject Class not showing up in System.Management namespace

前端 未结 7 1199
陌清茗
陌清茗 2020-12-28 11:53

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

相关标签:
7条回答
  • 2020-12-28 12:38

    Make sure your project isn't set up to compile against the .NET 4 Framework Client Profile.

    Please see Namespace not recognized (even though it is there) for more details.

    0 讨论(0)
提交回复
热议问题