Click or drag to resize

EnvironmentStartAndInit Method

Entry point in the Lyncée Tec APIs. Starts the environment, logs in and initializes the environment. Use this version when working with a Koala database for special applications which do never switch Koala user.

Namespace:  LynceeTec.API
Assembly:  LynceeTec.API (in LynceeTec.API.dll) Version: 10.1.23514.0 , built 2023-11-07 12:21:48 UTC
Syntax
public static IConfigManager StartAndInit(
	string userName,
	SecureString password,
	string databasePath
)

Parameters

userName
Type: SystemString
The name of the user to log in at start-up.
password
Type: System.SecuritySecureString
The password of the user to log in at start-up
databasePath
Type: SystemString
The full path to the database

Return Value

Type: IConfigManager
The instance of the configuration manager. Mainly needed for the initialization of other APIs and to retrieve additional values. (Note that this is the legacy IConfigManager as used in the old Koala. Future versions of the API will return the new manager, more adapted to the new core).
Exceptions
ExceptionCondition
EnvironmentAlreadyStartedExceptionThrown if the environment was already initialized because Start was already called before.
Remarks
A database is needed when working with hardware (for example for live images acquisitions and holograms recording).
See Also