我在 WPF C# 中编程并尝试获取 ProcessorID(或其他系统标识符)。我已通读MSDN - System.Management Namespace。我添加了命名空间,但它不提供ManagementBaseObject Class
.
using System.Management;
/* code */
System.Management.(there is no ManagementBaseObject)
System.Management 是否仅用于 WinForms,而不是 WPF?