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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.