Enhancement Request: Windows System agent collect process affinity for multi-processor systems which has this attribute set.
It would be nice to get the mask or a list of the processors it is allowed to run on (or "all").
If it is easy to also report the number of cores, that would be nice to have for calculations.
Here's a vb.net syntax for setting the attribute:
<DllImport("kernel32.dll", CharSet:=CharSet.Auto, SetLastError:=True)> _
Public Shared Function GetProcessAffinityMask(ByVal handle As
SafeProcessHandle, <Out> ByRef processMask As IntPtr, <Out> ByRef
systemMask As IntPtr) As Boolean