0

tried using solutions posted here How to fast get Hardware-ID in C#? and here http://www.codeproject.com/Articles/17973/How-To-Get-Hardware-Information-CPU-ID-MainBoard-I but it seems wpf doesn't have ManagementObjectCollection. I've already add

using System.Management;
using System.Management.Instrumentation;

in my code, though. is there any way using wpf to get the cpu id and else?

Community
  • 1
  • 1
imin
  • 4,504
  • 13
  • 56
  • 103

1 Answers1

1

WTF?

WPF should be able to use WMI.

Did you try manually adding a reference to System.Management (WMI)?

paulsm4
  • 114,292
  • 17
  • 138
  • 190
  • uh thanks.. I don't know that we had to manually add the reference to System.Management before – imin May 29 '12 at 04:54