This page is only available in English.
Licensing
To be used, this SDK is subject to licensing. You have 30 days to test it for free.
Register a license
You have 30 days free trial. For a long term use, you need to buy a license (See pricing). Then, we will send you a license key and you will just have to specify it with your company name with the static method RegisterLicense() of class YaskawaRobot.
A InvalidLicenseException exception will be thrown when connecting to the robot with the reason.
You can get full information about current license with the static property LicenseInfo of class YaskawaRobot.
using UnderAutomation.Yaskawa;using UnderAutomation.Yaskawa.License;class License{static void Main(string[] args){YaskawaRobot.RegisterLicense("YourCompanyName", "YOUR_LICENSE_KEY");LicenseInfo myLicenseInfo = YaskawaRobot.LicenseInfo;// Number of trial days remainingvar evaluationDaysLeft = myLicenseInfo.EvaluationDaysLeft;bool licenseValid = myLicenseInfo.State == LicenseState.Licensed;}}
API Reference
Class
LicenseInfo| Member | Type | Description |
|---|---|---|
LicenseInfo(string, string) Constructor | ||
EvaluationDaysLeft Property | int? | Remaining days of the trial period. Null if the product is licensed. It could be negative if the trial period is ended since several days. |
EvaluationStartDate Property | DateTime | The date the trial period starts. If the product is licensed, the date of the library first use. |
LicenseIssuedDate Property | DateTime? | The date you get the license |
LicenseKey Property | string | The license key supplied by UnderAutomation (null for trial period) |
Licensee Property | string | Name of your organisation |
MaintenanceExpirationDate Property | DateTime? | The date your maintenance contract ends, and you no longer can use this license with newer versions. |
MaintenanceYears Property | int | Number of maintenance years included in your license |
Product Property | string | Commercial name of this .NET Software library |
ProductReleaseDate Property | DateTime | The date this version of the product was released. |
State Property read only | LicenseState | |
TrialPeriodExpirationDate Property | DateTime? | The date the product will expire. Null if the product is licensed. |
ToString() Method | string |
Enum
LicenseStateStates that can take a license
| Name | Value | Description |
|---|---|---|
Expired | 3 | The trial period has expired, you can no longer use the library |
ExtraTrial | 2 | The library is in an extra trial period, you can use the library |
Invalid | 0 | The pair License Identifier and License Key are incompatible, you cannot use the library |
Licensed | 5 | Congratulations, the library is licensed. |
MaintenanceNeeded | 4 | Your license does not allow you to use such a recent release. Please buy maintenance to use this version |
None | -1 | No license has been provided |
Trial | 1 | The library is in a trial period, you can use the library |
Class
InvalidLicenseExceptioninherits ExceptionException thrown while using the product if the license is not valid
| Member | Type | Description |
|---|---|---|
LicenseInfo Property | LicenseInfo | The license that causes this exception |