[DllImport("psapi.dll", SetLastError = true)] public static extern bool GetPerformanceInfo( out PERFORMANCE_INFORMATION pPerformanceInformation, uint cb );
Microsoft documentation: Link
Last updated 1 year ago