This commit is contained in:
2020-06-23 18:20:51 +00:00
parent 1e87f9b077
commit 93db555bb7
6 changed files with 11 additions and 9 deletions

View File

@@ -215,7 +215,7 @@ Plugins:
public string LicenseFormat { get; set; }
public string Id { get; set; }
public string RegisteredTo { get; set; }
public Guid DbId { get; set; }
public string DbId { get; set; }
public DateTime LicenseExpiration { get; set; }
public DateTime MaintenanceExpiration { get; set; }
public List<LicenseFeature> Features { get; set; }
@@ -264,7 +264,7 @@ Plugins:
public static string GetRavenTrialKey(Guid dbid, string CompanyName)
public static string GetRavenTrialKey(string dbid, string CompanyName)
{
//Build a sample test key, sign it and return it
@@ -309,7 +309,8 @@ Plugins:
if (string.IsNullOrWhiteSpace(k.RegisteredTo))
throw new ArgumentException("RegisteredTo is required", "RegisteredTo");
if (k.DbId == Guid.Empty)
// if (k.DbId == Guid.Empty)
if (string.IsNullOrWhiteSpace(k.DbId))
throw new ArgumentException("DBId is required", "RegisteredTo");
try