System.Cores (gb)

Static Property Read Cores As Integer

Dal 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.