TestimoX

API Reference

Class

WmiRow

Namespace ComputerX.Wmi
Assembly ComputerX
Modifiers sealed
Attributes
DefaultMember("Item") SupportedOSPlatform("windows")

Single WMI row materialized as a case-insensitive property bag.

Inheritance

  • Object
  • WmiRow

Constructors

public WmiRow(Dictionary<String, Object> values) #

Initializes a new row from a case-insensitive dictionary of values.

Parameters

values System.Collections.Generic.Dictionary{System.String,System.Object} requiredposition: 0

Methods

public T Get<T>(String name) #
Returns: T

Type Parameters

T

Parameters

name String requiredposition: 0
Get``1(System.String name) #

Gets a value by property name and converts it to the requested type, handling DateTime strings and unsigned-to-signed numeric conversions when possible. Returns default(T) on conversion failure.

Parameters

name System.String required

Properties

public Object Item { get; } #

Gets a raw value by property name (case-insensitive).

public IReadOnlyDictionary<String, Object> Values { get; } #

All values in the row.