GetMaximumProcessorCount function kernel32
Returns the maximum number of logical processors that a processor group or the system can have.
DWORD GetMaximumProcessorCount(
WORD GroupNumber
);
Implementation
int GetMaximumProcessorCount(int GroupNumber) =>
_GetMaximumProcessorCount(GroupNumber);