Environment: ProcessorCount (get)

ProcessorCount

Returns the number of processors on the current machine.

 Public Property Get ProcessorCount ( ) As Long

Return Values

Long -  The processor count.

Remarks

This method counts the number of process subkey entries located in the Hardware\Description\System\CentralProcessor' region of the HKEY_LOCAL_MACHINE registry key.

Read Only.

See Also

Project VBCorLib Overview | Class Environment Overview