24 lines
732 B
C#
24 lines
732 B
C#
|
|
using System.Threading.Tasks;
|
||
|
|
|
||
|
|
namespace BetterEN5.Services
|
||
|
|
{
|
||
|
|
public interface IActivationService
|
||
|
|
{
|
||
|
|
Task<bool> CheckActivationStatusAsync();
|
||
|
|
Task<bool> ActivateProfessionalAsync(string licenseKey);
|
||
|
|
Task<bool> EnableIWBForNonTouchAsync();
|
||
|
|
Task<bool> ApplyBoardSupportPatchAsync();
|
||
|
|
Task<bool> LaunchBen5InstallerAsync();
|
||
|
|
ActivationInfo GetCurrentStatus();
|
||
|
|
}
|
||
|
|
|
||
|
|
public class ActivationInfo
|
||
|
|
{
|
||
|
|
public bool IsProfessional { get; set; }
|
||
|
|
public bool IsIWBActive { get; set; }
|
||
|
|
public bool IsNonTouchBoard { get; set; }
|
||
|
|
public string LicenseType { get; set; } = "Community";
|
||
|
|
public string LastActivationDate { get; set; } = "";
|
||
|
|
}
|
||
|
|
}
|