System.Machine.CPUs property

[ The Windows Gadget Platform/Sidebar is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. ]

A collection of System.Machine.CPU objects.

Note   Objects of type System.Machine.CPU can only be accessed through the CPUs collection. This collection is a member of System.Machine.
 

This property is read-only.

Syntax


objCPUs = System.Machine.CPUs


Property value

A collection of System.Machine.CPU objects.

Examples

The following example shows how to select the System.Machine.CPU object at index 0 from the CPUs collection, then access the name property of that System.Machine.CPU object.


var collCPU = System.Machine.CPUs; 
			
var oCPU = collCPU.item(0);  
			
var strCPUName = oCPU.name;


Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

End of client support

Windows 7

End of server support

Windows Server 2008

IDL

Sidebar.idl

DLL

Sidebar.Exe (version 1.00 or later)

See also

System.Machine
Reference
count
item
System.Machine.CPU

 

 

Community Additions

ADD
Show: