TestimoX

API Reference

Class

WmiNamespaces

Namespace ComputerX.Wmi
Assembly ComputerX
Modifiers static
Attributes
SupportedOSPlatform("windows")

Central place for well-known WMI/CIM provider namespaces, keyed by class name. Keeps probing minimal and avoids hardcoding namespaces at every call site.

Inheritance

  • Object
  • WmiNamespaces

Methods

public static IEnumerable<String> GetKnownNamespacesForClass(String wmiClass) #
Returns: IEnumerable<String>

Returns a sequence of likely namespaces for a given class, most-specific first. For unknown classes, returns an empty sequence (caller should fall back to default namespace).

Parameters

wmiClass System.String requiredposition: 0