Activation Class
Through this class, you can manage your subscription.
Name | Description | |
---|---|---|
![]() |
Activation() | Creates a new instance of the Activation class. |
Name | Description | |
---|---|---|
![]() |
ActivateSubscription(string, string) | This activates the subscription. |
![]() |
DeactivateLicense() |
Deactivate the licence on the current machine. This method is used when you want to deactivate the TRIAL and activate your paid Subscription, or once your subscription has been renewed. This method DOES NOT allow you to remove the Deployment Location from your Subscription. |
![]() |
Refresh() | Refresh your Subscription. |
![]() |
getAllDLInfo(string) | Gets information of all activated DL. |
![]() |
getDLInfo(string) | Gets the DL information. Returns an array containing informations about the current DL. |
![]() |
getDLInfo(string, int) | Gets the DL information of a specific PC. |
![]() |
getSubscriptionInfo() | Get your Subscription Info |
![]() |
lockDL(string, int) | Use this function to lock a specific DL |
![]() |
unlockDL(string, int) | Use this function to unlock a specific DL |
To activate a Subscription properly, execute the method ActivateSubscription
A subscription can also be activated automatically to a Deployment Location right after you execute one of the following Methods for the very first time:
1. SendInvoices.SendInvoice
2. SendClassifications.Send
3. RequestInvoices.Request
Until the Deployment Location is activated, you cannot use the following:
1. myDATATools Class
2. ExchangeRates Class
3. Refresh
4. getSubscriptionInfo
5. DeactivateLicense
// ---------------------- ACTIVATE A SUBSCRIPTION ---------------------- Activation act = new Activation(); string result = act.ActivateSubscription("Arbitrans User", "Arbitrans Key"); // --------------------- DEACTIVATE A SUBSCRIPTION --------------------- // WARNING: THE DEPLOYMENT LOCATION IS NOT RELEASED BY DEACTIVATING A // SUBSCRIPTION FROM THE CURRENT MACHINE! // If you accidentally deactivate a subscription, you will lose // a deployment location! // The purpose of deactivating a subscription is only to activate a new // one after the renewal or purchase of a subscription. // The renewal of your subscription resets the Deployment Locations. Activation act = new Activation(); string result = act.DeactivateLicense();
This language is not supported or no code example is available.
' ---------------------- ACTIVATE A SUBSCRIPTION ---------------------- Dim act as Activation = New Activation() Dim result as String = act.ActivateSubscription("Arbitrans User", "Arbitrans Key") ' --------------------- DEACTIVATE A SUBSCRIPTION --------------------- ' WARNING: THE DEPLOYMENT LOCATION IS NOT RELEASED BY DEACTIVATING A ' SUBSCRIPTION FROM THE CURRENT MACHINE! ' If you accidentally deactivate a subscription, you will lose ' a deployment location! ' The purpose of deactivating a subscription is only to activate a new ' one after the renewal or purchase of a subscription. ' The renewal of your subscription resets the Deployment Locations. Dim act as Activation = new Activation() Dim result as String = act.DeactivateLicense()
This language is not supported or no code example is available.
ArbitransMyData.Activation