Skip to content

Commit

Permalink
Merge pull request #35 from cryptlex/ahmad/refactor-userLicense
Browse files Browse the repository at this point in the history
refactor: updated user license types and docs
  • Loading branch information
adnan-kamili authored Jul 31, 2024
2 parents eb79161 + 8a49d2e commit 94ae79f
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions src/Cryptlex.LexActivator/UserLicense.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,24 @@ namespace Cryptlex
{
public class UserLicense
{
public int AllowedActivations;
/// <summary>
/// The allowed activations of the license. A value of -1 indicates unlimited number of activations.
/// </summary>
public long AllowedActivations;

public int AllowedDeactivations;
/// <summary>
/// The allowed deactivations of the license. A value of -1 indicates unlimited number of deactivations.
/// </summary>
public long AllowedDeactivations;

/// <summary>
/// The license key.
/// </summary>
public string Key;

/// <summary>
/// The license type (node-locked or hosted-floating).
/// </summary>
public string Type;
}
}

0 comments on commit 94ae79f

Please sign in to comment.