Udostępnij za pośrednictwem


SystemInfo.NumberOfProcessors Property

Gets or sets the number of processors on the device.

Namespace:  Microsoft.SmartDevice.Connectivity
Assembly:  Microsoft.SmartDevice.Connectivity (in Microsoft.SmartDevice.Connectivity.dll)

Syntax

'Declaration
Public Property NumberOfProcessors As Integer
'Usage
Dim instance As SystemInfo 
Dim value As Integer 

value = instance.NumberOfProcessors

instance.NumberOfProcessors = value
public int NumberOfProcessors { get; set; }
public:
property int NumberOfProcessors {
    int get ();
    void set (int value);
}
public function get NumberOfProcessors () : int 
public function set NumberOfProcessors (value : int)

Property Value

Type: System.Int32
The number of processors on the device.

.NET Framework Security

See Also

Reference

SystemInfo Class

SystemInfo Members

Microsoft.SmartDevice.Connectivity Namespace