System Health Check is not available in Windows when I moved from Legacy

I have been using System Health Check library to get the CPU utilization, Available RAM info for sometime now. Its now been told that we have to shift from Legacy to Windows. However this package is not available in Windows.

So I tried to use some other packages to get this info, but no packages are available in Windows. Then I thought of using to code this but ‘PerformanceCounter’ dll is not available in windows as well.

Anyone has any idea to get this info in windows? I can get this in Legacy, but not in Windows.

What I need is CPU Utilization, Available RAM, list of application with used memory.