ValidateLicenseResult

Namespace: Babel.Licensing Assembly: Babel.Licensing.dll

Represents the result of a license validation operation.

public class ValidateLicenseResult

Inheritance

objectValidateLicenseResult

Inherited Members

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

ValidateLicenseResult(ValidateLicenseResponse)

Initializes a new instance of the class with the response from the license validation operation.

public ValidateLicenseResult(ValidateLicenseResponse response)

Parameters

NameDescription

The response from the license validation operation.

Properties

ActiveClientCount

Gets the number of active clients using the license.

public int ActiveClientCount { get; }

Property Value

int

ClientId

Gets the client id that send the validation request.

public string ClientId { get; }

Property Value

string

License

Gets or sets the license associated with the validation result.

public ILicense License { get; }

Property Value

ILicense

LicenseToken

Gets the license token associated with the validation result.

public string LicenseToken { get; }

Property Value

string

LicensingMode

Gets the licensing mode of the license.

public LicensingMode LicensingMode { get; }

Property Value

LicensingMode

MaxClientCount

Gets the maximum number of clients allowed by the license.

public int MaxClientCount { get; }

Property Value

int

TokenExpireAt

Gets the expiration date of the license token.

public DateTime? TokenExpireAt { get; }

Property Value

DateTime?

TokenExpireIn

Gets the expiration time.

public TimeSpan? TokenExpireIn { get; }

Property Value

TimeSpan?

Last updated