Редагувати

Поділитися через


Win32_WinSAT class

[Win32_WinSAT may be altered or unavailable for releases after Windows 8.1.]

Defines summary assessment information for the most recent formal assessment.

The following syntax is simplified from MOF code and includes all inherited properties.

Syntax

class Win32_WinSAT
{
  string TimeTaken = "MostRecentAssessment";
  real32 WinSPRLevel;
  uint32 WinSATAssessmentState;
  real32 MemoryScore;
  real32 CPUScore;
  real32 DiskScore;
  real32 D3DScore;
  real32 GraphicsScore;
};

Members

The Win32_WinSAT class has these types of members:

Properties

The Win32_WinSAT class has these properties.

CPUScore

Data type: real32

Access type: Read-only

A score for the processors on the computer.

D3DScore

Data type: real32

Access type: Read-only

After Windows 8.1, WinSAT no longer assess the three-dimensional graphics (gaming) capabilities of the computer and the graphics driver's ability to render objects and execute shaders using this assessment. For compatibility, WinSAT report sentinel values for the metrics and scores, however these are not calculated in real time.

DiskScore

Data type: real32

Access type: Read-only

A score for the sequential read throughput on the primary hard disk on the computer.

GraphicsScore

Data type: real32

Access type: Read-only

A score for the graphics capabilities of the computer.

MemoryScore

Data type: real32

Access type: Read-only

A score for the memory throughput and capacity of the computer.

TimeTaken

Data type: string

Access type: Read-only

Qualifiers: key

This property must be set to "MostRecentAssessment" in the WHERE clause of your WQL query.

WinSATAssessmentState

Data type: uint32

Access type: Read-only

State of the assessment. For a description of the possible values, see the WINSAT_ASSESSMENT_STATE enumeration.

StateUnknown (0)

Valid (1)

IncoherentWithHardware (2)

NoAssessmentAvailable (3)

Invalid (4)

WinSPRLevel

Data type: real32

Access type: Read-only

Base score for the computer. For details on the score value, see the IProvideWinSATResultsInfo::SystemRating property.

Remarks

For information on the subcomponent scores, such as MemoryScore, see the IProvideWinSATAssessmentInfo::Score property.

Examples

For an example that shows how to use WMI to retrieve data from this class, see the IProvideWinSATVisuals::get_Bitmap method.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
None supported
Namespace
Root\CIMv2
MOF
WinSAT.mof
DLL
WinSATAPI.dll