Table of Contents

Class LicenceHelper

Espace de noms
SecureExchangesSDK.Helpers
Assembly
SecureExchangesSDK.NetCore.dll

This helper help you to manage a licence

public static class LicenceHelper
Héritage
LicenceHelper
Membres hérités

Fields

PLANID_APICOMPLET

public const string PLANID_APICOMPLET = "APICOMPLET"

Valeur du champ

string

PLANID_APICOMPLET2100

public const string PLANID_APICOMPLET2100 = "APICOMPLET2100"

Valeur du champ

string

PLANID_APIDEBASE

Basic API plan

public const string PLANID_APIDEBASE = "APIDEBASE"

Valeur du champ

string

PLANID_COMPLET

public const string PLANID_COMPLET = "COMPLET"

Valeur du champ

string

PLANID_COMPLET10000

public const string PLANID_COMPLET10000 = "COMPLET10000"

Valeur du champ

string

PLANID_COMPLET15000

public const string PLANID_COMPLET15000 = "COMPLET15000"

Valeur du champ

string

PLANID_COMPLET20000

public const string PLANID_COMPLET20000 = "COMPLET20000"

Valeur du champ

string

PLANID_COMPLET2100

public const string PLANID_COMPLET2100 = "COMPLET2100"

Valeur du champ

string

PLANID_COMPLET2100_PARTAGER

public const string PLANID_COMPLET2100_PARTAGER = "COMPLET2100-P"

Valeur du champ

string

PLANID_COMPLET25000

public const string PLANID_COMPLET25000 = "COMPLET25000"

Valeur du champ

string

PLANID_COMPLET5000

public const string PLANID_COMPLET5000 = "COMPLET5000"

Valeur du champ

string

PLANID_COMPLET7500

public const string PLANID_COMPLET7500 = "COMPLET7500"

Valeur du champ

string

PLANID_COMPLET_PARTAGER

public const string PLANID_COMPLET_PARTAGER = "COMPLET-P"

Valeur du champ

string

PLANID_DEBASE

Basic plan

public const string PLANID_DEBASE = "DEBASE"

Valeur du champ

string

PLANID_DEBASE_PARTAGER

public const string PLANID_DEBASE_PARTAGER = "DEBASE-P"

Valeur du champ

string

PLANID_NOTSET

public const string PLANID_NOTSET = "NotSet"

Valeur du champ

string

PLANID_SESAR

public const string PLANID_SESAR = "SESAR"

Valeur du champ

string

Properties

DeviceID

public static string DeviceID { get; }

Valeur de la propriété

string

DeviceIDPrefix

Sometime two device have the same name, but need to use different licence. The prefix is used to eleminate that case. Use set a prefix to one of the both licence the most earlier possible in your project.

public static string DeviceIDPrefix { get; set; }

Valeur de la propriété

string

Methods

CreateLicence(CreateLicenceArgs)

This method will create a Licence object, This object contains your authentication, encrypted.

public static Licence CreateLicence(CreateLicenceArgs args)

Paramètres

args CreateLicenceArgs

CreateLicenceArgs

Retour

Licence

Return a licence Objects

GetBackLicence(GetBackLicenceArgs)

To received your activation link by email or SMS. Depend of your licence contact. That method will send you an email or SMS

public static void GetBackLicence(GetBackLicenceArgs args)

Paramètres

args GetBackLicenceArgs

GetBackLicenceArgs

GetLicenceAutorisation(GetLicenceAutorisationArgs)

Get licence permission

public static LicenceAutorisation GetLicenceAutorisation(GetLicenceAutorisationArgs args)

Paramètres

args GetLicenceAutorisationArgs

GetLicenceAutorisationArgs

Retour

LicenceAutorisation

Return a licenceautorisation object. Will give your permission, maxsize and maxminretention

GetSerialInfo(GetSerialInfoArgs)

Retreive Serial informations.

public static GetSerialInfoResponse GetSerialInfo(GetSerialInfoArgs args)

Paramètres

args GetSerialInfoArgs

Retour

GetSerialInfoResponse

Response contain information about the serial number

GetTrial(GetTrialArgs)

This method will help you to get a trial

public static bool GetTrial(GetTrialArgs args)

Paramètres

args GetTrialArgs

GetTrialArgs

Retour

bool

If the trial request is successful executed you will received true

IsLicenceIsValid(IsLicenceIsValidArgs)

This method will validate if the Serial, APIUser, APIPassword and email are valid

public static bool IsLicenceIsValid(IsLicenceIsValidArgs args)

Paramètres

args IsLicenceIsValidArgs

IsLicenceIsValidArgs

Retour

bool

true / false

LoadLicenceFromFile(string, string)

Use a .sel file, and retreived the licence Informations

public static Licence LoadLicenceFromFile(string email, string licencePath)

Paramètres

email string

The licence of the email need to be returned

licencePath string

The path to the file

Retour

Licence