Anyline SDK 51.4.0
All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
AnylineSDK Class Reference

More...

Static Public Member Functions

static DateTime GetExpiryDate ()
 Gets the expiry date of the Anyline license. The SDK must be initialized, otherwise this call throws an exception.
 
static void Init (string licenseKey, CacheConfig.Preset cacheConfigPreset=CacheConfig.Preset.Default)
 Initializes the Anyline license with a given license key.
 
static string ExportCachedEvents ()
 Export all cached events and return the file path to the created zip archive. The zip archive will be stored in a temporary folder in order to be copied afterwards.
 
static void ResetLicense ()
 Resets the Anyline license.
 

Detailed Description

Member Function Documentation

◆ ExportCachedEvents()

static string AnylineSDK.ExportCachedEvents ( )
static

Export all cached events and return the file path to the created zip archive. The zip archive will be stored in a temporary folder in order to be copied afterwards.

Return null if there are no events or if something went wrong.

Returns
The file path of the zip archive

◆ GetExpiryDate()

static DateTime AnylineSDK.GetExpiryDate ( )
static

Gets the expiry date of the Anyline license. The SDK must be initialized, otherwise this call throws an exception.

Returns
The expiry date as DateTime

◆ Init()

static void AnylineSDK.Init ( string  licenseKey,
CacheConfig::Preset  cacheConfigPreset = CacheConfig::Preset::Default 
)
static

Initializes the Anyline license with a given license key.

Parameters
licenseKey
cacheConfigPreset

The documentation for this class was generated from the following file: