Trying to get CPU usage via Invoke Code (C#) and getting the following error:
Invoke code: No compiled code to run
error CS0234: The type or namespace name ‘Devices’ does not exist in the namespace ‘Microsoft.VisualBasic’ (are you missing an assembly reference?) At line -3
Calling PerforrmanceCounter and not using Microsoft.VisualBasic.Devices.
What is happening here?