System.Cores (gb)

Static Property Read Cores As Integer

Since 3.16

Return the number of CPU execution units.

It is the number of CPU cores, or twice that number if you have something like Hyper-threading.