Table of Contents

Class LocalApp

Namespace
Hi.HiNcKits
Assembly
HiNc.dll

Local application initialization and cleanup utilities.

public static class LocalApp
Inheritance
LocalApp
Inherited Members

Fields

DefaultLocalAppConfigPath

Path to the configuration file.

public const string DefaultLocalAppConfigPath = "hinc-host-config.xml"

Field Value

string

Properties

LocalAppConfig

Gets or sets the host configuration.

public static LocalAppConfig LocalAppConfig { get; set; }

Property Value

LocalAppConfig

Methods

AppBegin(LocalAppConfig)

Initializes the application with the specified configuration.

public static void AppBegin(LocalAppConfig localAppConfig)

Parameters

localAppConfig LocalAppConfig

The local application configuration.

AppBegin(string)

Initializes the application with the specified cache database path.

public static void AppBegin(string cacheDbPath = null)

Parameters

cacheDbPath string

The path to the SQLite cache database. If null, uses default path.

AppBeginWithConfigFile(string)

Initializes the application with configuration from a file.

public static void AppBeginWithConfigFile(string hostConfigPath = null)

Parameters

hostConfigPath string

Path to the host configuration file. Uses default path if null.

AppEnd()

Cleans up the application by stopping services and logging out licenses.

public static void AppEnd()