Click or drag to resize

Environment Class

The Lyncée Tec API environment, required for any work with the APIs
Inheritance Hierarchy
SystemObject
  LynceeTec.APIEnvironment

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 class Environment

The Environment type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberAvailableMagnifications
List of available magnifications for the current environment
Public propertyStatic memberDatabaseVersion
The version of the database in use
Public propertyStatic memberIsDongleOffline
Gets a value indicating if an Offline dongle was found at environment start
Public propertyStatic memberIsInitialized
Gets a value indicating whether the Environment is already initialized
Public propertyStatic memberIsLoggedIn
Gets a value indicating whether the Environment is already logged in
Public propertyStatic memberIsStarted
Gets a value indicating whether the Environment is already started
Public propertyStatic memberNumberOfWavelengths
Number of available wavelengths for the current environment
Top
Methods
  NameDescription
Public methodStatic memberEnd
Cleanly ends the Lyncée Tec API session and disposes the resources. One of the overload of Start must have been called first.
Public methodStatic memberInit
Initializes the environment. Start(String) and Login(String, SecureString) must be called first.
Public methodStatic memberLogin
Login a user. Start(String) must be called first.
Public methodStatic memberLogout
Logout the current user
Public methodStatic memberStart
Entry point in the Lyncée Tec APIs. Initializes the environment. Use this version when working with metadata only (no database).
Public methodStatic memberStart(String)
Entry point in the Lyncée Tec APIs. Starts the environment. Use this version when working with a Koala database. To be ready to use the environment, call Login(String, SecureString) and Init afterwards
Public methodStatic memberStartAndInit
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.
Top
See Also