TestimoX

API Reference

Class

ComputerSystemInfoQuery

Namespace ComputerX.ComputerSystem
Assembly ComputerX
Modifiers static

Queries ComputerSystemInfo via WMI/CIM, with async support.

Inheritance

  • Object
  • ComputerSystemInfoQuery

Methods

public static ComputerSystemInfo Get(String computer) #
Returns: ComputerSystemInfo

Retrieves system information for the given computer.

Parameters

computer System.String requiredposition: 0
public static async Task<ComputerSystemInfo> GetAsync(String computer, TimeSpan timeout, CancellationToken ct) #
Returns: Task<ComputerSystemInfo>

Asynchronously retrieves system information with a timeout.

Parameters

computer System.String requiredposition: 0
timeout System.TimeSpan requiredposition: 1
ct System.Threading.CancellationToken requiredposition: 2