WMIHelper GetInfo Method (String, String)CleanCode C# Libraries v1.2.03 API
Gets the server info for the specified key in the given section.

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

public string GetInfo(
	string section,
	string key
)

Parameters

section
Type: OnlineSystem String
The section (e.g. Win32_OperatingSystem) containing the key.
key
Type: OnlineSystem String
The key to lookup (e.g. LastBootUpTime or Version).

Return Value

Value matching specified section/key.
See Also