WMIHelper GetInfo Method (WMIHelper CustomToken)CleanCode C# Libraries v1.2.03 API
Gets the server info for the special token.

Namespace: CleanCode.Net
Assembly: CleanCode (in CleanCode.dll) Version: 1.2.3.0 (1.2.03)
Syntax

public string GetInfo(
	WMIHelper..::..CustomToken token
)

Return Value

Value matching specified special token.
Remarks

Certain pieces of information, while available using the raw access method GetInfo(String), require combining several calls into an oft-used common expression. One example is the operating system version. Within the Win32_OperatingSystem section, this needs 3 calls (for keys Version, ServicePackMajorVersion, and ServicePackMinorVersion) then building an expression of the form "xxx SP x.x". This method provides shortcuts for some of these commonly used values.
See Also