Table of Contents

Class License

Namespace
Hi.Licenses
Assembly
HiDisp.dll

License of this module.

public static class License
Inheritance
License
Inherited Members

Fields

CoreDll

Core dll path.

public const string CoreDll = "core.dll"

Field Value

string

Methods

AbortIfNotLoggedIn(AuthFeature)

Aborts the application if a specific feature is not logged in.

public static void AbortIfNotLoggedIn(AuthFeature feature)

Parameters

feature AuthFeature

The feature to check.

GetProducerInfo()

Get Producer Info.

public static string GetProducerInfo()

Returns

string

Producer Info.

IsFeatureAuth(AuthFeature)

Checks if a specific feature is authorized.

public static bool IsFeatureAuth(AuthFeature authFeature)

Parameters

authFeature AuthFeature

The feature to check.

Returns

bool

True if the feature is authorized; otherwise, false.

IsLoggedIn(AuthFeature)

Checks if a specific feature is logged in.

public static bool IsLoggedIn(AuthFeature feature)

Parameters

feature AuthFeature

The feature to check.

Returns

bool

True if the feature is logged in; otherwise, false.

LogInAll()

Attempts to log in to all available features.

public static List<AuthFeature> LogInAll()

Returns

List<AuthFeature>

An enumeration of successfully logged in features.

LogOut(AuthFeature)

Logs out from a specific feature.

public static void LogOut(AuthFeature feature)

Parameters

feature AuthFeature

The feature to log out from.

LogOutAll()

Logs out from all features.

public static void LogOutAll()

Login(AuthFeature)

Logs in to a specific feature.

public static bool Login(AuthFeature feature)

Parameters

feature AuthFeature

The feature to log in to.

Returns

bool

True if login was successful; otherwise, false.

SafelyEndLicenseRoutineCheck()

Safely ends the license routine check.

public static void SafelyEndLicenseRoutineCheck()

Events

AbortEventHandler

Event handler for license abort events.

public static event EventHandler<string> AbortEventHandler

Event Type

EventHandler<string>