API Reference
Class
Inventory
High-level entry points to collect inventory snapshots.
Inheritance
- Object
- Inventory
Methods
public static ComputerInventory Get(String computer = null, InventoryQueryOptions options = null, CancellationToken ct = null) #Returns:
ComputerInventoryCollects an inventory snapshot synchronously for a computer.
Parameters
- computer System.String = null
- options ComputerX.Inventory.InventoryQueryOptions = null
- ct System.Threading.CancellationToken = null
public static Task<ComputerInventory> GetAsync(String computer = null, InventoryQueryOptions options = null, CancellationToken ct = null) #Returns:
Task<ComputerInventory>Collects an inventory snapshot asynchronously for a computer.
Parameters
- computer System.String = null
- options ComputerX.Inventory.InventoryQueryOptions = null
- ct System.Threading.CancellationToken = null
public static IReadOnlyList<ComputerInventory> GetMany(IEnumerable<String> computers, Int32 maxConcurrency = 8, InventoryQueryOptions options = null, CancellationToken ct = null) #Returns:
IReadOnlyList<ComputerInventory>Collects inventory for many computers concurrently.
Parameters
- computers System.Collections.Generic.IEnumerable{System.String}
- maxConcurrency System.Int32 = 8
- options ComputerX.Inventory.InventoryQueryOptions = null
- ct System.Threading.CancellationToken = null
public static Task<IReadOnlyList<ComputerInventory>> GetManyAsync(IEnumerable<String> computers, Int32 maxConcurrency = 8, InventoryQueryOptions options = null, CancellationToken ct = null) #Returns:
Task<IReadOnlyList<ComputerInventory>>Collects inventory asynchronously for many computers concurrently.
Parameters
- computers System.Collections.Generic.IEnumerable{System.String}
- maxConcurrency System.Int32 = 8
- options ComputerX.Inventory.InventoryQueryOptions = null
- ct System.Threading.CancellationToken = null
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object