Click or drag to resize

HardwareManagerInit(IConfigManager, IDHMHardwareItemsUsage) Method

Entry point to the Hardware API. This function initializes the DHM hardware. Call this function before any hardware interaction. The Lyncée Tec APIs Environment must have been started and initialized before. Note that when accessing real hardware items, this call can take some time to execute.

Namespace: LynceeTec.API.Hardware
Assembly: LynceeTec.API.Hardware (in LynceeTec.API.Hardware.dll) Version: 10.2.3317.0 , built 2025-03-17 14:55:35 UTC
Syntax
public static void Init(
	IConfigManager configManager,
	IDHMHardwareItemsUsage dhmHardwareItemsUsage
)

Parameters

configManager  IConfigManager
Config manager reference returned by Start(String) or StartAndInit(String, SecureString, String)
dhmHardwareItemsUsage  IDHMHardwareItemsUsage
HardwareItemUsage of each dhm item. The list of hardware elements must correspond to the DHM's hardware configuration.
Exceptions
ExceptionCondition
HardwareManagerAlreadyInitializedExceptionThrown if the hardware manager was already initialized because Init was already called before.
See Also