TestimoX

API Reference

Class

InventoryMappings

Namespace ComputerX.OperatingSystem
Assembly ComputerX
Modifiers static

Helpers that convert raw WMI numeric fields into strongly-typed enums used by the inventory model.

Inheritance

  • Object
  • InventoryMappings

Methods

public static Nullable<DomainRole> ToDomainRole(Nullable<Int32> v) #
Returns: Nullable<DomainRole>

Converts WMI DomainRole integer to the strongly-typed DomainRole.

Parameters

v System.Nullable{System.Int32} requiredposition: 0
public static Nullable<OsProductType> ToProductType(Nullable<Int32> v) #
Returns: Nullable<OsProductType>

Converts Win32_OperatingSystem ProductType integer to OsProductType.

Parameters

v System.Nullable{System.Int32} requiredposition: 0