TestimoX

API Reference

Class

Processor

Namespace ComputerX.Hardware
Assembly ComputerX
Modifiers static

Queries processor (CPU) information via Win32_Processor.

Inheritance

  • Object
  • Processor

Methods

public static async Task<List<ProcessorInfo>> GetAsync(String computer, Nullable<TimeSpan> timeout = null, CancellationToken ct = null) #
Returns: Task<List<ProcessorInfo>>

Gets CPU information for a computer.

Parameters

computer System.String requiredposition: 0
Target computer name or IP.
timeout System.Nullable{System.TimeSpan} = null optionalposition: 1
Optional per-query timeout.
ct System.Threading.CancellationToken = null optionalposition: 2
Cancellation token.