<PackageReference Include="Relativity.Api" Version="9.7.209.7" />

LicenseInfoBase

Base class defining license information object.
public string Company

Stores a company name.

Stores datetime value indicating expiration date of a license.

public string InstanceName

Stores an instance name.

public string PasswordHash

Stores a hash value of a password.

public Guid ApplicationGuid { get; set; }

Gets and/or sets an application guid.

public int DaysBeforeExpiration { get; }

Returns a number of days left before a license expires.

public int DaysBeforeLockout { get; }

Returns a number of days before a license locks out.

public int HoursUntilLockout { get; }

Returns number of hours left until lockout of license occurs (lockout only occurs after grace period expires).

public bool IsExpired { get; }

Returns a boolean value indicating if a license has expired.

public bool IsGracePeriodExpired { get; }

Returns a boolean value indicating if a license grace period has expired.

public bool IsOk { get; }

Returns a boolean value indicating if a license is valid and not expired.

public bool IsValid { get; }

Returns a boolean value indicating if a license is valid.

public LicenseInfoBase()

Initializes a new instance of the LicenseInfoBase class.

public void SetIsValid(bool isValid)

Sets a read-only property IsValid of license object.