Cuemon .NET Framework
GetProcessorAffinityCount(Process) Method

The System.Diagnostics.Process to query.
Gets the number of processors currently assigned to the specified process.
Syntax
'Declaration
 
Public Overloads Shared Function GetProcessorAffinityCount( _
   ByVal process As Process _
) As Integer
public static int GetProcessorAffinityCount( 
   Process process
)

Parameters

process
The System.Diagnostics.Process to query.

Return Value

The number of processors currently assigned to the specified process.
Remarks
Code was inspired and originally authored by Jesse C. Slicer @ StackOverflow: http://stackoverflow.com/questions/188503/detecting-the-number-of-processors/189371#189371
Requirements

Target Platforms: Windows 8, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PlatformUtility Class
PlatformUtility Members
Overload List

 

 


| Cuemon is licensed under a The MIT License (MIT)



© 2009-2015 Weubphoria. All Rights Reserved.

Documentation made easy with Document! X by Innovasys

Send Feedback