Click or drag to resize

HardwareManagerInit(IConfigManager, IDHMHardwareItemsUsage, IProgressReporter) 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,
	IProgressReporter progressReporter
)

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.
progressReporter  IProgressReporter
Provider for progress report of the hardware initialization. Can be null.
Exceptions
ExceptionCondition
HardwareManagerAlreadyInitializedExceptionThrown if the operation is invalide because the hardware manager was already initialized because Init was already called before.
NoUserLoggedInExceptionThrown if the operation is invalid because no user is logged in the Environment
EnvironmentNotInitializedExceptionThrown if the operation is invalid because the Environment hasn't been initialized
See Also