LicenseService Class

Namespace:
Weavy.Core.Services
Assembly:
Weavy.Core.dll

Service layer for managing licenses.

public static class LicenseService
Inheritance:
System.Object → LicenseService

Methods

Get() Gets the currently configured License.
HasReachedSpaceLimit(License) Gets a value indicating if the number of spaces in the system has reached the space limit in the license.
HasReachedUserLimit(License) Gets a value indicating if the number of users in the system has reached the user limit in the license.
IsApproachingSpaceLimit(License) Gets a value indicating if the number of spaces in the system is approaching the space limit in the license.
IsApproachingUserLimit(License) Gets a value indicating if the number of users in the system is approaching the user limit in the license.
IsExpired(License) Gets a value indicating whether the specified license has reached the expiry date and there are no more grace days.
IsGracePeriod(License) Gets a value indicating if the license has expired and is within the grace period.
IsInvalid(License) Gets a value indicating whether the specified license is invalid.
Refresh() Refresh license information from the license server.
Register(string, bool, out String) Register license with the specified key with the license server.
Request(LicenseRequest, bool, out String) Request a new license from the license server.