This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
#define DEVELOPMENT_TEST_ROCKFISH
|
||||||
using System;
|
using System;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
@@ -28,18 +29,29 @@ namespace AyaNova.Core
|
|||||||
internal static class License
|
internal static class License
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//License server addresses
|
//License server addresses
|
||||||
|
// private const string LICENSE_SERVER_URL_ROCKFISH = "https://rockfish.ayanova.com/";
|
||||||
|
|
||||||
|
#if (DEVELOPMENT_TEST_ROCKFISH)
|
||||||
|
private const string LICENSE_SERVER_URL_ROCKFISH = "http://localhost:3001/";
|
||||||
|
#warning FYI DEVELOPMENT_TEST_ROCKFISH is defined
|
||||||
|
#else
|
||||||
private const string LICENSE_SERVER_URL_ROCKFISH = "https://rockfish.ayanova.com/";
|
private const string LICENSE_SERVER_URL_ROCKFISH = "https://rockfish.ayanova.com/";
|
||||||
|
#endif
|
||||||
|
|
||||||
|
//CRITICAL PROBLEM IF THIS IS TRUE
|
||||||
|
#if(DEVELOPMENT_TEST_ROCKFISH && !DEBUG)
|
||||||
|
#error ### HOLDUP: DEVELOPMENT_TEST_ROCKFISH is defined in a RELEASE BUILD!!!!
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
private const string LICENSE_SERVER_URL_IO = "https://io.ayanova.com/";
|
private const string LICENSE_SERVER_URL_IO = "https://io.ayanova.com/";
|
||||||
private const string LICENSE_SERVER_URL_EUROPA = "https://europa.ayanova.com/";
|
private const string LICENSE_SERVER_URL_EUROPA = "https://europa.ayanova.com/";
|
||||||
private const string LICENSE_SERVER_URL_CALLISTO = "https://callisto.ayanova.com/";
|
private const string LICENSE_SERVER_URL_CALLISTO = "https://callisto.ayanova.com/";
|
||||||
|
|
||||||
|
|
||||||
// #if (DEBUG)
|
|
||||||
// private const string LICENSE_SERVER_URL = "http://localhost:3001/";
|
|
||||||
// #else
|
|
||||||
// private const string LICENSE_SERVER_URL = "https://rockfish.ayanova.com/";
|
|
||||||
// #endif
|
|
||||||
|
|
||||||
//Unlicensed token
|
//Unlicensed token
|
||||||
private const string UNLICENSED_TOKEN = "UNLICENSED";
|
private const string UNLICENSED_TOKEN = "UNLICENSED";
|
||||||
@@ -58,7 +70,7 @@ namespace AyaNova.Core
|
|||||||
//This feature name means it's a trial key
|
//This feature name means it's a trial key
|
||||||
private const string TRIAL_FEATURE_NAME = "TrialMode";
|
private const string TRIAL_FEATURE_NAME = "TrialMode";
|
||||||
|
|
||||||
|
|
||||||
//Current license key, can be empty
|
//Current license key, can be empty
|
||||||
private static AyaNovaLicenseKey _ActiveLicense = new AyaNovaLicenseKey();
|
private static AyaNovaLicenseKey _ActiveLicense = new AyaNovaLicenseKey();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user