TestimoX

API Reference

Class

ComputerInventoryQuery

Namespace ComputerX.Inventory
Assembly ComputerX
Modifiers static

Orchestrates inventory collection across selected sections for a computer or many computers.

Inheritance

  • Object
  • ComputerInventoryQuery

Methods

public static async Task<ComputerInventory> GetAsync(String computer = null, InventoryQueryOptions options = null, CancellationToken ct = null) #
Returns: Task<ComputerInventory>

Collects inventory for a single computer.

Parameters

computer System.String = null optionalposition: 0
options ComputerX.Inventory.InventoryQueryOptions = null optionalposition: 1
ct System.Threading.CancellationToken = null optionalposition: 2
public static async Task<IReadOnlyList<ComputerInventory>> GetManyAsync(IEnumerable<String> computers, Int32 maxConcurrency = 8, InventoryQueryOptions options = null, CancellationToken ct = null) #
Returns: Task<IReadOnlyList<ComputerInventory>>

Collects inventory for multiple computers concurrently.

Parameters

computers System.Collections.Generic.IEnumerable{System.String} requiredposition: 0
maxConcurrency System.Int32 = 8 optionalposition: 1
options ComputerX.Inventory.InventoryQueryOptions = null optionalposition: 2
ct System.Threading.CancellationToken = null optionalposition: 3