Class License
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
Methods
AbortIfNotLoggedIn(AuthFeature)
Aborts the application if a specific feature is not logged in.
public static void AbortIfNotLoggedIn(AuthFeature feature)
Parameters
feature
AuthFeatureThe 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
AuthFeatureThe 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
AuthFeatureThe 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
AuthFeatureThe 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
AuthFeatureThe 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