Share via


SystemDiagnosticInfo クラス

定義

CPU 使用率、ディスク使用量、メモリ使用量など、システムに関する診断情報を提供します。

public ref class SystemDiagnosticInfo sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class SystemDiagnosticInfo final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class SystemDiagnosticInfo
Public NotInheritable Class SystemDiagnosticInfo
継承
Object Platform::Object IInspectable SystemDiagnosticInfo
属性

Windows の要件

デバイス ファミリ
Windows 10 Creators Update (10.0.15063.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v4.0 で導入)

プロパティ

CpuUsage

システムによって使用される CPU 時間を取得します。

MemoryUsage

システムのメモリ使用量データを取得します。

PreferredArchitecture

システムの優先プロセッサ アーキテクチャを取得します。

メソッド

GetForCurrentSystem()

現在の システムの SystemDiagnosticInfo を取得します。

IsArchitectureSupported(ProcessorArchitecture)

システムが指定されたプロセッサ アーキテクチャをサポートしているかどうかを判断します。

適用対象